It might be useful to have /usr/share/scripts in the crontab PATH

This commit is contained in:
Tristan PILAT 2020-04-21 18:21:03 +02:00
parent cf975ee14b
commit b1868829aa
1 changed files with 1 additions and 1 deletions

View File

@ -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(){