diff options
author | Robert Peichaer <rpe@cvs.openbsd.org> | 2015-12-30 22:59:54 +0000 |
---|---|---|
committer | Robert Peichaer <rpe@cvs.openbsd.org> | 2015-12-30 22:59:54 +0000 |
commit | 7aef858b0830a9257dddf4071e599663d1b52d45 (patch) | |
tree | d785bbb59991ee9756b2dd8d6895a56173af9796 /etc | |
parent | 641fdbd7d4bedc5e9d53080b64a3a7f63979e10c (diff) |
Remove portslocks from /etc/daily. The ports LOCKDIR was moved from /tmp
to /usr/ports/pobj years ago.
OK millert@, ajacoutot@
Diffstat (limited to 'etc')
-rw-r--r-- | etc/daily | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/daily b/etc/daily index 1158724311a..8ea860df611 100644 --- a/etc/daily +++ b/etc/daily @@ -1,5 +1,5 @@ # -# $OpenBSD: daily,v 1.83 2015/04/29 00:10:44 halex Exp $ +# $OpenBSD: daily,v 1.84 2015/12/30 22:59:53 rpe Exp $ # From: @(#)daily 8.2 (Berkeley) 1/25/94 # # For local additions, create the file /etc/daily.local. @@ -49,10 +49,10 @@ if [ -d /tmp -a ! -L /tmp ]; then cd /tmp && { find -x . \ \( -path './ssh-*' -o -path ./.X11-unix -o -path ./.ICE-unix \ - -o -path ./portslocks -o -path './tmux-*' \) \ + -o -path './tmux-*' \) \ -prune -o -type f -atime +7 -execdir rm -f -- {} \; 2>/dev/null find -x . -type d -mtime +1 ! -path ./vi.recover ! -path ./.X11-unix \ - ! -path ./.ICE-unix ! -path ./portslocks ! -name . \ + ! -path ./.ICE-unix ! -name . \ -execdir rmdir -- {} \; >/dev/null 2>&1; } fi |