diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-25 20:57:51 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-25 20:57:51 +1200 |
commit | 5ef820a7376920d0fd593f79ad856c59d446282b (patch) | |
tree | 676134b59ba0956d4f8cd7394b01b5a93ace0e00 /bash/bash_logout | |
parent | Use hash to test for dircolors existence (diff) | |
download | dotfiles-5ef820a7376920d0fd593f79ad856c59d446282b.tar.gz dotfiles-5ef820a7376920d0fd593f79ad856c59d446282b.zip |
No need to test for clear_console existence
Diffstat (limited to 'bash/bash_logout')
-rw-r--r-- | bash/bash_logout | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bash_logout b/bash/bash_logout index 22014963..0c9af8c1 100644 --- a/bash/bash_logout +++ b/bash/bash_logout @@ -1,5 +1,5 @@ # Clear console if possible when logging out -if ((SHLVL == 1)) && command -v clear_console &>/dev/null; then - clear_console -q +if ((SHLVL == 1)); then + clear_console -q 2>/dev/null fi |