mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
Shell: Make run_command() return a NonnullRefPtrVector<Job>
This never returns null Job pointers.
This commit is contained in:
parent
3055f73d48
commit
bf2cd9374c
4 changed files with 7 additions and 7 deletions
|
@ -734,7 +734,7 @@ int Shell::builtin_time(int argc, const char** argv)
|
|||
timer.start();
|
||||
for (auto& job : run_commands(commands)) {
|
||||
block_on_job(job);
|
||||
exit_code = job->exit_code();
|
||||
exit_code = job.exit_code();
|
||||
}
|
||||
fprintf(stderr, "Time: %d ms\n", timer.elapsed());
|
||||
return exit_code;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue