aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_logout
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-08-19 18:37:04 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-08-19 18:37:04 +1200
commit351319e17d30e7428d91bd17c36407b428b3dab2 (patch)
tree98450d602d98fd32f3eb9338df72e396d0ed1031 /bash/bash_logout
parentRemove unnecessary variable bracing in .bashrc (diff)
downloaddotfiles-351319e17d30e7428d91bd17c36407b428b3dab2.tar.gz
dotfiles-351319e17d30e7428d91bd17c36407b428b3dab2.zip
Remove unnecessary quoting
Diffstat (limited to 'bash/bash_logout')
-rw-r--r--bash/bash_logout2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bash_logout b/bash/bash_logout
index 4436082f..22014963 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
+if ((SHLVL == 1)) && command -v clear_console &>/dev/null; then
clear_console -q
fi