summaryrefslogtreecommitdiffstats
path: root/etc/periodic
diff options
context:
space:
mode:
authorremko <remko@FreeBSD.org>2007-02-23 18:44:20 +0000
committerremko <remko@FreeBSD.org>2007-02-23 18:44:20 +0000
commit06cc2685815574900d1db4e29570f7e31b9a63ea (patch)
tree50b62d319751baefe17dbf10bb1cc31417c7417d /etc/periodic
parent888dd25b3f4c16afa95f90b76578f976a367f25d (diff)
downloadFreeBSD-src-06cc2685815574900d1db4e29570f7e31b9a63ea.zip
FreeBSD-src-06cc2685815574900d1db4e29570f7e31b9a63ea.tar.gz
Move to the preferred syntax for nice (-n) instead
of the depricated one. PR: conf/108611 Submitted by: TAOKA Fumiyoshi <fmysh at iijmio-mail dot jp> Approved by: imp (mentor)
Diffstat (limited to 'etc/periodic')
-rwxr-xr-xetc/periodic/weekly/310.locate2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/periodic/weekly/310.locate b/etc/periodic/weekly/310.locate
index e6921ab..4079f5e 100755
--- a/etc/periodic/weekly/310.locate
+++ b/etc/periodic/weekly/310.locate
@@ -23,7 +23,7 @@ case "$weekly_locate_enable" in
chmod 644 $locdb || rc=3
cd /
- echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody || rc=3
+ echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody || rc=3
chmod 444 $locdb || rc=3;;
*) rc=0;;
OpenPOWER on IntegriCloud