lsof: fix broken patch
authorFelix Fietkau <nbd@openwrt.org>
Fri, 29 Jun 2012 22:03:26 +0000 (22:03 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 29 Jun 2012 22:03:26 +0000 (22:03 +0000)
The line:

if 1 -eq 0

is missing the 'test' command. Alternatively, "if /bin/false" would have worked too.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 32549

utils/lsof/patches/003-lsof_selinux.patch

index 7cfcb402453a6945805aa131fa7258c5d4b80aeb..c74c1e3f95379145e34f6dc8f5ad8b2a7cd454ab 100644 (file)
@@ -5,7 +5,7 @@
        fi      # }
      fi        # }
 -    if test $LSOF_TMP1 -eq 1  # {
-+    if 0 -eq 1        # {
++    if test 0 -eq 1   # {
      then
        LSOF_CFGF="$LSOF_CFGF -DHASSELINUX"
        LSOF_CFGL="$LSOF_CFGL -lselinux"