aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_logout
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-02-10 23:54:25 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-02-10 23:54:25 +1300
commit79309afa6f6d8b4f3a607694608b499db6b992fa (patch)
tree627a59b4d7182ccca6d7bfb613895e876bfd25ed /bash/bash_logout
parentAdd comment (diff)
downloaddotfiles-79309afa6f6d8b4f3a607694608b499db6b992fa.tar.gz
dotfiles-79309afa6f6d8b4f3a607694608b499db6b992fa.zip
Use space before semicolon as command separator
Diffstat (limited to 'bash/bash_logout')
-rw-r--r--bash/bash_logout4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bash_logout b/bash/bash_logout
index 2cffa5f8..01905f99 100644
--- a/bash/bash_logout
+++ b/bash/bash_logout
@@ -1,10 +1,10 @@
# Give up completely if no BASH_VERSINFO (<2.0)
-if [ -z "$BASH_VERSINFO" ]; then
+if [ -z "$BASH_VERSINFO" ] ; then
return
fi
# Clear console if possible when logging out
-if ((SHLVL == 1)); then
+if ((SHLVL == 1)) ; then
clear_console -q 2>/dev/null
fi