From: Simon Ruderich Date: Tue, 30 Mar 2010 22:33:08 +0000 (+0200) Subject: shell/logout: Ignore errors if sudo isn't installed. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=c75fb038473a104eb86f15ac4fae4dc544fcfdc4;p=config%2Fdotfiles.git shell/logout: Ignore errors if sudo isn't installed. --- diff --git a/shell/logout b/shell/logout index 93135ee..10affa1 100644 --- a/shell/logout +++ b/shell/logout @@ -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