You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…-zero
If user gave correct password but the command returned non-zero, the
program kept asking for a password. This commit doesn't keep asking for
the password and it shows what the command outputs and returns a its
exit value.
Fixesdubs3c#3.
Try to execute for example:
sudo blaablaa
When you enter your correct sudo password, it isn't accepted, instead you just get: Sorry, try again.
What you should get is:
sudo: blaablaa: command not found
sudo false
also does the same, so if the command returns false, password is never accepted.The text was updated successfully, but these errors were encountered: