Return to su.c CVS log | Up to [local] / src / usr.bin / su |
version 1.41, 2001/09/18 04:41:09 | version 1.42, 2001/09/18 16:37:59 | ||
---|---|---|---|
|
|
||
auth_errx(as, 1, "can't allocate memory"); | auth_errx(as, 1, "can't allocate memory"); | ||
if (asme) { | if (asme) { | ||
if (pwd->pw_shell && *pwd->pw_shell) { | if (pwd->pw_shell && *pwd->pw_shell) { | ||
shell = strdup(pwd->pw_shell); | if ((shell = strdup(pwd->pw_shell)) == NULL) | ||
auth_errx(as, 1, "can't allocate memory"); | |||
} else { | } else { | ||
shell = _PATH_BSHELL; | shell = _PATH_BSHELL; | ||
iscsh = NO; | iscsh = NO; |