diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /core/sudo/sudo_validate_exitval.patch |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'core/sudo/sudo_validate_exitval.patch')
-rw-r--r-- | core/sudo/sudo_validate_exitval.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/sudo/sudo_validate_exitval.patch b/core/sudo/sudo_validate_exitval.patch new file mode 100644 index 000000000..ccda68921 --- /dev/null +++ b/core/sudo/sudo_validate_exitval.patch @@ -0,0 +1,15 @@ +diff -r 172f29597bd2 plugins/sudoers/sudoers.c +--- a/plugins/sudoers/sudoers.c Sun Mar 06 15:38:02 2011 -0500 ++++ b/plugins/sudoers/sudoers.c Sun Mar 06 15:52:06 2011 -0500 +@@ -546,8 +546,10 @@ + if (def_group_plugin) + group_plugin_unload(); + +- if (ISSET(sudo_mode, (MODE_VALIDATE|MODE_CHECK|MODE_LIST))) ++ if (ISSET(sudo_mode, (MODE_VALIDATE|MODE_CHECK|MODE_LIST))) { ++ rval = TRUE; + goto done; ++ } + + /* + * Set umask based on sudoers. |