diff options
-rw-r--r-- | bash/bash_logout | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bash/bash_logout b/bash/bash_logout index 4438bbe6..30b0c143 100644 --- a/bash/bash_logout +++ b/bash/bash_logout @@ -1,6 +1,5 @@ # Clear console if possible when logging out -if [[ "$SHLVL" = 1 ]]; then - command -v clear_console >/dev/null \ - && clear_console -q +if [[ "$SHLVL" = 1 ]] && command -v clear_console >/dev/null; then + clear_console -q fi |