]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/logout
shell/logout: Ignore errors if sudo isn't installed.
[config/dotfiles.git] / 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