aboutsummaryrefslogtreecommitdiff
path: root/etc/periodic
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1997-11-01 15:00:40 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1997-11-01 15:00:40 +0000
commitd5c1fb3ee9d0302114b2272fb90639f5b19f7b0c (patch)
treec6f2fe0def0ad821f4641be6315939661b573a14 /etc/periodic
parent9e8930055e9a45d8de7d958cd6284fd31c365fc2 (diff)
downloadsrc-d5c1fb3ee9d0302114b2272fb90639f5b19f7b0c.tar.gz
src-d5c1fb3ee9d0302114b2272fb90639f5b19f7b0c.zip
Delete unused code.
Notes
Notes: svn path=/head/; revision=30880
Diffstat (limited to 'etc/periodic')
-rwxr-xr-xetc/periodic/weekly/310.locate6
1 files changed, 2 insertions, 4 deletions
diff --git a/etc/periodic/weekly/310.locate b/etc/periodic/weekly/310.locate
index cfe37ff1ba6b..39455b1e5ad1 100755
--- a/etc/periodic/weekly/310.locate
+++ b/etc/periodic/weekly/310.locate
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: 310.locate,v 1.1.1.1 1997/08/12 17:51:16 pst Exp $
+# $Id: 310.locate,v 1.1.1.1 1997/08/16 17:04:02 pst Exp $
#
locdb=/var/db/locate.database
@@ -11,8 +11,6 @@ if [ -x /usr/libexec/locate.updatedb -a -f $locdb ] ; then
touch ${locdb}; chown nobody ${locdb}; chmod 644 ${locdb}
- echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody 2>&1 |\
- fgrep -v 'Permission denied'
-
+ echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody
chmod 444 ${locdb}
fi