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

/freebsd-11-stable/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
119 if (state == 0 || iflag == 0 || ! rootshell ||
142 rootshell = 1;
H A Derror.c119 if (rootshell && iflag)
H A Dtrap.c285 if (rootshell && iflag)
291 if (rootshell && mflag)
H A Djobs.c182 if (on == jobctl || rootshell == 0)
914 wasroot = rootshell;
915 rootshell = 0;
972 if (rootshell && mode != FORK_NOJOB && mflag) {
991 if (iflag && rootshell && n)
1114 else if (rootshell && propagate_int &&
1244 else if ((!rootshell || !iflag || thisjob == job) &&
1265 TRACE(("Not printing status, rootshell=%d, job=%p\n", rootshell, job));
H A Dhistedit.c181 if (rootshell && el != NULL && term != NULL)

Completed in 160 milliseconds