diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-05-18 19:57:57 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-05-18 19:57:57 +0000 |
commit | ba2b6e51ff87c4c8dc0b47b299ffa6c088debcb3 (patch) | |
tree | 4bda855b15dc12618e4f3a2d7ac2b2c4e984a0e3 | |
parent | 5b69bec9ef4dfa9982e0be7b23e1320ad2bdd896 (diff) |
/usr/libexec should not be put into the PATH
rely on the PATH set up in the root crontab(5), just like in monthly(8)
suggested by ajacoutot@; "i like this" okan@; feedback jmc@ sthen@;
"absolutely" deraadt@
-rw-r--r-- | etc/weekly | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/etc/weekly b/etc/weekly index 28ac1ebb280..08ed1452dfa 100644 --- a/etc/weekly +++ b/etc/weekly @@ -1,11 +1,8 @@ # -# $OpenBSD: weekly,v 1.21 2009/05/10 19:27:25 schwarze Exp $ +# $OpenBSD: weekly,v 1.22 2009/05/18 19:57:56 schwarze Exp $ # umask 022 -PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec -export PATH - PARTOUT=/var/log/weekly.part MAINOUT=/var/log/weekly.out install -o 0 -g 0 -m 600 /dev/null $PARTOUT @@ -64,7 +61,7 @@ if [ -f /var/db/locate.database ]; then fi next_part "Rebuilding whatis databases:" -makewhatis +/usr/libexec/makewhatis # If LOGINACCOUNTING is set to 1 in the environment, report user # accounting information |