Lines Matching defs:shell
264 const char *shell;
267 shell = pwd->pw_shell;
268 if (*shell == '\0')
269 shell = _PATH_BSHELL;
288 setenv("SHELL", shell, 1);
295 if (asprintf(args, "-%s", shell) < 0)
299 execv(shell, args);
300 err(1, "%s", shell);
306 const char *shell;
308 shell = pwd->pw_shell;
309 if (*shell == '\0')
310 shell = _PATH_BSHELL;
311 execl(shell, shell, (char *)NULL);
312 err(1, "%s", shell);