diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2014-07-02 13:39:42 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2014-07-02 13:39:42 +0000 |
commit | 33780115c177829f3384eb189aedc28cdd87b88d (patch) | |
tree | a580ee302592a4f0fc3fce3f75adeefeaeccaf98 /etc | |
parent | 16b630961493c3d881307b93ea0bd4e2e1d4010f (diff) |
don't clear tmux session sockets in daily(8)'s tmp cleanup, from Rafael Zalamena
ok schwarze@
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 4f24c01f3ba..b22ad6bc129 100644 --- a/etc/daily +++ b/etc/daily @@ -1,5 +1,5 @@ # -# $OpenBSD: daily,v 1.80 2014/04/24 19:04:54 tedu Exp $ +# $OpenBSD: daily,v 1.81 2014/07/02 13:39:41 sthen Exp $ # From: @(#)daily 8.2 (Berkeley) 1/25/94 # # For local additions, create the file /etc/daily.local. @@ -49,7 +49,7 @@ 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 ./portslocks -o -path './tmux-*' \) \ -prune -o -type f -atime +3 -execdir rm -f -- {} \; 2>/dev/null find -x . -type d -mtime +1 ! -path ./vi.recover ! -path ./.X11-unix \ ! -path ./.ICE-unix ! -path ./portslocks ! -name . \ @@ -60,7 +60,7 @@ if [ -d /var/tmp -a ! -L /var/tmp ]; then cd /var/tmp && { find -x . \ \( -path './ssh-*' -o -path ./.X11-unix -o -path ./.ICE-unix \ - -o -path ./portslocks \) \ + -o -path ./portslocks -o -path './tmux-*' \) \ -prune -o ! -type d -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 . \ |