removed an XXX (fixed it in getspwuid.c)
This commit is contained in:
1
sudo.c
1
sudo.c
@@ -254,7 +254,6 @@ int main(argc, argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* add the shell as argv[0] */
|
/* add the shell as argv[0] */
|
||||||
/* XXX - doesn't deal with "" meaning bourne shell */
|
|
||||||
if (user_shell && *user_shell) {
|
if (user_shell && *user_shell) {
|
||||||
if ((NewArgv[0] = strrchr(user_shell, '/') + 1) == (char *) 1)
|
if ((NewArgv[0] = strrchr(user_shell, '/') + 1) == (char *) 1)
|
||||||
NewArgv[0] = user_shell;
|
NewArgv[0] = user_shell;
|
||||||
|
Reference in New Issue
Block a user