Date: Thu, 1 Feb 2007 01:45:11 +0900 (JST) From: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> Subject: conf/108611: An obsolete nice(1) syntax is left in etc/periodic/weekly/310.locate. Message-ID: <20070131164511.5FAD715345E@xeon.quad.dyndns.org> Resent-Message-ID: <200701311720.l0VHKGqO001665@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 108611
>Category: conf
>Synopsis: An obsolete nice(1) syntax is left in etc/periodic/weekly/310.locate.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 31 17:20:16 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: TAOKA Fumiyoshi
>Release:
>Organization:
>Environment:
>Description:
An obsolete nice(1) syntax is left in etc/periodic/weekly/310.locate.
>How-To-Repeat:
>Fix:
Index: 310.locate
===================================================================
RCS file: /home/ncvs/src/etc/periodic/weekly/310.locate,v
retrieving revision 1.6
diff -u -r1.6 310.locate
--- 310.locate 14 Sep 2000 17:19:13 -0000 1.6
+++ 310.locate 31 Jan 2007 16:04:30 -0000
@@ -23,7 +23,7 @@
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;;
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070131164511.5FAD715345E>
