Lines Matching defs:shell
262 const char *shell;
265 shell = pwd->pw_shell;
266 if (*shell == '\0')
267 shell = _PATH_BSHELL;
286 setenv("SHELL", shell, 1);
293 if (asprintf(args, "-%s", basename(shell)) < 0)
297 execv(shell, args);
298 err(1, "%s", shell);
304 const char *shell;
306 shell = pwd->pw_shell;
307 if (*shell == '\0')
308 shell = _PATH_BSHELL;
309 execl(shell, basename(shell), (char *)NULL);
310 err(1, "%s", shell);