]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
shell: Remove sudo rights when logging out.
authorSimon Ruderich <simon@ruderich.org>
Thu, 13 Aug 2009 17:26:36 +0000 (19:26 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 13 Aug 2009 17:26:36 +0000 (19:26 +0200)
shell/logout

index 1a87b04be282ba842d60e5ed5a0b42f362a13117..93135ee08122c647fe933e3bca93b9ca48428ed4 100644 (file)
@@ -11,4 +11,7 @@ if [ "$SHLVL" = 1 ]; then
     fi
 fi
 
+# Make sure sudo rights are removed.
+sudo -k
+
 # vim: ft=sh