← Commit list

8ec1c9dc6

Mike Frysinger
Mike Frysinger
2009-03-29
FAILED Duration: 31s

Subject

make sure we check job status whenever updating the prompt

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/hush.c+3 -1
@@ -2841,7 +2841,7 @@ static int run_list(struct pipe *pi)
}
#endif
if (pi->num_cmds == 0)
- continue;
+ goto check_jobs_and_continue;
/* After analyzing all keywords and conditions, we decided
* to execute this pipe. NB: has to do checkjobs(NULL)
@@ -2928,6 +2928,8 @@ static int run_list(struct pipe *pi)
) {
skip_more_for_this_rword = rword;
}
+
+ check_jobs_and_continue:
checkjobs(NULL);
} /* for (pi) */