]> arthur.ath.cx Git - ConfigScripts.git/blobdiff - user/bash_logout
Don't set $USER and $UID
[ConfigScripts.git] / user / bash_logout
index deaa629dc2c3b90692de93abd5734332e1b3ed4c..80c8d841103e732e1edbb0ccb368d918b756379c 100644 (file)
@@ -1,6 +1,6 @@
 #
 # ~/.bash_logout: executed by bash(1) on logout
-# Written 2003-2009 by Alexander Barton (alex@barton.de)
+# Written 2003-2014 by Alexander Barton (alex@barton.de)
 #
 # This script is executed by bash(1) on logout.
 #
@@ -24,7 +24,7 @@ case `tty` in
        ;;
     *)
        if [ -z "$SUDO_USER" ]; then
-               echo "Bye, bye, $USER!"; echo
+               echo "Bye, bye, $LOGNAME!"; echo
        fi
 esac