In comparing the differences between version 0.49 and 0.50 of chkrootkit I noticed that there is an invalid variable being referenced on line 1825: if ${ls} -l ${MD} | ${egrep} "^...s" > /dev/null 2>&1 then STATUS=${INFECTED} fi It should instead be: if ${ls} -l ${CMD} | ${egrep} "^...s" > /dev/null 2>&1 then STATUS=${INFECTED} fi Note the use of ${MD} vs ${CMD} This comparison is used several other places in the code correctly. To be double sure, I looked for any reference to a ${MD} variable, and other than line 1825, it does not exist.
Hello. Could you please make a Pull request and send it via github? it will be applied. Thanks.
Please retry with 0.51 version