From b1868829aaaf0660dab779e3d31f7a75cf770d8a Mon Sep 17 00:00:00 2001 From: Tristan PILAT Date: Tue, 21 Apr 2020 18:21:03 +0200 Subject: [PATCH] It might be useful to have /usr/share/scripts in the crontab PATH --- evocheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evocheck.sh b/evocheck.sh index cb1e720..af476ee 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -233,7 +233,7 @@ check_rsync(){ } check_cronpath(){ - grep -q "PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" /var/cron/tabs/root || failed "IS_CRONPATH" "" + grep -q "PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/share/scripts" /var/cron/tabs/root || failed "IS_CRONPATH" "" } check_tmp1777(){