Slightly more reliable XDG_RUNTIME_DIR cleanup, still a little worrying
This commit is contained in:
parent
30afa33f4e
commit
6f8047bc7a
1 changed files with 1 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
#! zsh
|
||||
(( $(w -h $LOGNAME | wc -l) == 1 )) && rm -rf $XDG_RUNTIME_DIR
|
||||
(( $SHLVL == 1 && $(w -h $LOGNAME | wc -l) == 1 )) && rm -rf $XDG_RUNTIME_DIR
|
||||
|
|
Loading…
Reference in a new issue