Lines Matching refs:exitstatus
100 int exitstatus; /* exit status of last command */ variable
128 exitstatus = 0;
187 return exitstatus; in evalcmd()
224 exitstatus = 0; in evaltree()
241 if (evalskip || exitstatus != 0) in evaltree()
247 if (evalskip || exitstatus == 0) in evaltree()
267 if (exitstatus == 0) in evaltree()
272 exitstatus = 0; in evaltree()
287 exitstatus = 0; in evaltree()
291 exitstatus = !exitstatus; in evaltree()
308 exitshell(exitstatus); in evaltree()
331 if (exitstatus != 0) in evalloop()
334 if (exitstatus == 0) in evalloop()
338 status = exitstatus; in evalloop()
343 exitstatus = status; in evalloop()
370 status = exitstatus; in evalfor()
382 exitstatus = status; in evalfor()
406 status = exitstatus; in evalcase()
413 exitstatus = status; in evalcase()
441 exitstatus = waitforjob(jp); in evalsubshell()
536 exitstatus = waitforjob(jp); in evalpipe()
537 TRACE(("evalpipe: job done exit status %d\n", exitstatus)); in evalpipe()
574 exitstatus = oexitstatus; in evalbackcmd()
801 exitstatus = 127; in evalcommand()
971 exitshell(exitstatus); in evalcommand()
1019 exitstatus = cmdentry.u.bltin(argc, argv); in evalcommand()
1022 exitstatus = e == EXINT ? SIGINT + 128 : in evalcommand()
1038 exitshell(exitstatus); in evalcommand()
1072 exitstatus = waitforjob(jp); in evalcommand()
1089 if (eflag && exitstatus && !(flags & EV_TESTED)) in evalcommand()
1090 exitshell(exitstatus); in evalcommand()
1167 int ret = argc > 1 ? number(argv[1]) : exitstatus; in returncmd()