Searched refs:rootshell (Results 1 - 6 of 6) sorted by relevance

/freebsd-9.3-release/bin/sh/
H A Dmain.h37 extern int rootshell; /* true if we aren't a child of the main shell */
H A Dmain.c78 int rootshell; variable
118 if (state == 0 || iflag == 0 || ! rootshell ||
141 rootshell = 1;
H A Derror.c128 if (rootshell && iflag)
H A Dtrap.c285 if (rootshell && iflag)
291 if (rootshell && mflag)
297 if (rootshell && iflag)
H A Djobs.c122 if (on == jobctl || rootshell == 0)
800 wasroot = rootshell;
801 rootshell = 0;
857 if (rootshell && mode != FORK_NOJOB && mflag) {
876 if (iflag && rootshell && n)
999 else if (rootshell && iflag && propagate_int &&
1085 else if ((!rootshell || !iflag || thisjob == job) &&
1105 TRACE(("Not printing status, rootshell=%d, job=%p\n", rootshell, job));
H A Dhistedit.c181 if (rootshell && el != NULL && term != NULL)

Completed in 64 milliseconds