From: Unknown Author <team+pkg-security@tracker.debian.org>
Date: Sun, 9 Jul 2017 18:42:55 +0200
Subject: chkrootkit-Debian-cd

    chkrootkit: cd /usr/lib/chkrootkit.
    Debian-specific change to cd to /usr/lib/chkrootkit
	 .
     Upstream chkrootkit is designed to be run from it's build directory, so calls all its executables with a "./" prefix.
     On Debian, executables are placed in /usr/lib/chkrootkit.
     .
     This patch is from 2017 or earlier.
     Last-Updated: 2021-10-10

Forwarded: not-needed
---
 chkrootkit | 1 +
 1 file changed, 1 insertion(+)

diff --git a/chkrootkit b/chkrootkit
index a24416d..00b5da4 100755
--- a/chkrootkit
+++ b/chkrootkit
@@ -18,6 +18,7 @@ unalias ss > /dev/null 2>&1
 unalias ps > /dev/null 2>&1
 unalias dirname > /dev/null 2>&1
 
+cd /usr/lib/chkrootkit 2>/dev/null || echo "Could not cd /usr/lib/chkrootkit/"
 
 # Workaround for recent GNU coreutils
 _POSIX2_VERSION=199209
