Bugzilla – Bug 479
sudo -v always return 1
Last modified: 2011-04-11 08:03:55 MDT
Created attachment 307 [details] Fix exit value of "sudo -v" in sudoers module. In previous version, sudo -v returned 0 when user was allowed to use sudo. In version 1.8.0, exit code is always 1.
Created attachment 309 [details] Exit value fix for "sudo -v" and "sudo -l" I've attached the fix that I committed which will be part of the next release.
This is fixed in 1.8.1 which is currently in beta test, see http://www.sudo.ws/sudo/devel.html
Fixed in sudo 1.8.1