diff --git a/tforgione.sh b/tforgione.sh index 9fce97d..5f826a9 100755 --- a/tforgione.sh +++ b/tforgione.sh @@ -173,7 +173,7 @@ main() { sudoresult=$(sudo -nv 2>&1) if [ $? -eq 0 ]; then - sudo_available=0 + sudo_available=1 elif echo $sudoresult | grep -q '^sudo:'; then sudo_available=0 else