Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 856408264ebccb24222c666bc8499968 > files > 2

chkrootkit-0.49-2.fc13.src.rpm

diff -Nur chkrootkit-0.44-orig/chkrootkit chkrootkit-0.44/chkrootkit
--- chkrootkit-0.44-orig/chkrootkit 2004-09-01 15:27:28.000000000 +0200
+++ chkrootkit-0.44/chkrootkit 2004-10-04 14:53:26.003968312 +0200
@@ -1060,7 +1060,7 @@
    for i in ${ROOTDIR}${RUNNING} ${ROOTDIR}usr/sbin/${1} `loc ${1} ${1} $pth`
    do
       CMD="${i}"
-      if [ -r "${i}" ]
+      if [ -r "${i}" ] && [ "${i}" != "${ROOTDIR}" ];
         then
         return 0
       fi