Make hup_background_jobs accept the job list directly

This commit is contained in:
ridiculousfish
2020-02-19 20:35:04 -07:00
parent 59c6663a16
commit 05b8d4de97
4 changed files with 9 additions and 13 deletions

View File

@@ -903,7 +903,7 @@ static bool allow_exec_with_background_jobs(parser_t &parser) {
last_exec_run_count = current_run_count;
return false;
} else {
hup_background_jobs(parser);
hup_jobs(parser.jobs());
return true;
}
}