[sudo-workers] sudo ignores child return code

Todd C. Miller Todd.Miller at courtesan.com
Tue Aug 30 08:47:04 MDT 2016


I don't think this is a bug, the shell behaves the same way:

$ cat test.sh
#/bin/asdsadsa
#useless script

$ ./test.sh; echo $?
0

If the interpreter is not found, the script is passed through sh.

 - todd


More information about the sudo-workers mailing list