diff options
author | wosch <wosch@FreeBSD.org> | 1997-11-01 15:00:40 +0000 |
---|---|---|
committer | wosch <wosch@FreeBSD.org> | 1997-11-01 15:00:40 +0000 |
commit | 883fab98f1dbe6151a10dae1042717b49f5f0999 (patch) | |
tree | 9888b5a370a19695d39ad16417f98bcaa6dc1a88 /etc | |
parent | 79136b2cb8e58be33df1236eb29a1d71984a2885 (diff) | |
download | FreeBSD-src-883fab98f1dbe6151a10dae1042717b49f5f0999.zip FreeBSD-src-883fab98f1dbe6151a10dae1042717b49f5f0999.tar.gz |
Delete unused code.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/periodic/weekly/310.locate | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/etc/periodic/weekly/310.locate b/etc/periodic/weekly/310.locate index cfe37ff..39455b1 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 |