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)
This commit is contained in:
Remko Lodder 2007-02-23 18:44:20 +00:00
parent ee35eb7aa1
commit 4ee46876eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166912

View File

@ -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;;