aboutsummaryrefslogtreecommitdiff
path: root/etc/periodic/weekly
diff options
context:
space:
mode:
authorRemko Lodder <remko@FreeBSD.org>2007-02-23 18:44:20 +0000
committerRemko Lodder <remko@FreeBSD.org>2007-02-23 18:44:20 +0000
commit4ee46876eb41aa944959acd7dd27753252701d4e (patch)
tree50b62d319751baefe17dbf10bb1cc31417c7417d /etc/periodic/weekly
parentee35eb7aa15505be53d6c190103f9a7c53a93a7a (diff)
downloadsrc-4ee46876eb41aa944959acd7dd27753252701d4e.tar.gz
src-4ee46876eb41aa944959acd7dd27753252701d4e.zip
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)
Notes
Notes: svn path=/head/; revision=166912
Diffstat (limited to 'etc/periodic/weekly')
-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 e6921ab56e82..4079f5e8287e 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;;