X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=shell%2Flogout;h=10affa145cea962c1e672fa15f52c6321ca2e5c8;hb=9eb125f460f59b7c1067ae5142fc34393fd99080;hp=1a87b04be282ba842d60e5ed5a0b42f362a13117;hpb=d9718d2858cec089f0afd3a23ba5cb7ab049e6b9;p=config%2Fdotfiles.git diff --git a/shell/logout b/shell/logout index 1a87b04..10affa1 100644 --- a/shell/logout +++ b/shell/logout @@ -11,4 +11,7 @@ if [ "$SHLVL" = 1 ]; then fi fi +# Make sure sudo rights are removed. +sudo -k > /dev/null 2>&1 + # vim: ft=sh