lsof: fix broken patch
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 29 Jun 2012 22:03:26 +0000 (22:03 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32549 3c298f89-4303-0410-b956-a3cf2f4a3e73

utils/lsof/patches/003-lsof_selinux.patch

index 7cfcb40..c74c1e3 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"