mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
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:
parent
ee35eb7aa1
commit
4ee46876eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166912
@ -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;;
|
||||
|
Loading…
Reference in New Issue
Block a user