]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
shell/logout: Ignore errors if sudo isn't installed.
authorSimon Ruderich <simon@ruderich.org>
Tue, 30 Mar 2010 22:33:08 +0000 (00:33 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 30 Mar 2010 22:33:08 +0000 (00:33 +0200)
shell/logout

index 93135ee08122c647fe933e3bca93b9ca48428ed4..10affa145cea962c1e672fa15f52c6321ca2e5c8 100644 (file)
@@ -12,6 +12,6 @@ if [ "$SHLVL" = 1 ]; then
 fi
 
 # Make sure sudo rights are removed.
-sudo -k
+sudo -k > /dev/null 2>&1
 
 # vim: ft=sh