removed an XXX (fixed it in getspwuid.c)

This commit is contained in:
Todd C. Miller
1996-02-05 02:59:21 +00:00
parent 1d084add8a
commit 3da8d74b0a

1
sudo.c
View File

@@ -254,7 +254,6 @@ int main(argc, argv)
}
/* add the shell as argv[0] */
/* XXX - doesn't deal with "" meaning bourne shell */
if (user_shell && *user_shell) {
if ((NewArgv[0] = strrchr(user_shell, '/') + 1) == (char *) 1)
NewArgv[0] = user_shell;