Lines Matching refs:shell
98 static char *shell = NULL; /* shell from command line */ variable
228 shell = optarg;
527 if (shell) {
528 if (REL_PATH(shell)) {
529 errmsg(M_RELPATH, shell);
532 if (strcmp(pstruct->pw_shell, shell) == 0) {
534 shell = NULL;
536 if (stat(shell, &statbuf) < 0 ||
540 errmsg(M_INVALID, shell, "shell");
627 if (shell) { /* shell */
629 nargv[argindex++] = shell;