2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

user_shell -> run_shell to avoid confusion with the user's SHELL variable.

This commit is contained in:
Todd C. Miller
2011-03-18 10:23:35 -04:00
parent 5d7889c0d7
commit 33516ed826
3 changed files with 4 additions and 4 deletions

View File

@@ -1166,8 +1166,8 @@ deserialize_info(char * const settings[], char * const user_info[])
SET(flags, MODE_PRESERVE_ENV);
continue;
}
if (MATCHES(*cur, "user_shell=")) {
if (atobool(*cur + sizeof("user_shell=") - 1) == TRUE)
if (MATCHES(*cur, "run_shell=")) {
if (atobool(*cur + sizeof("run_shell=") - 1) == TRUE)
SET(flags, MODE_SHELL);
continue;
}