forked from evolix/evocheck
It might be useful to have /usr/share/scripts in the crontab PATH
This commit is contained in:
parent
cf975ee14b
commit
b1868829aa
|
@ -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(){
|
||||
|
|
Loading…
Reference in a new issue