Import patch to fix shell script/exit status bug.
[akaros.git] / tools / sys-apps / bash / akaros-patches / 4.3.30 / upstream.patch
1 *** bash-4.3.30.dist/execute_cmd.c      2016-06-22 14:46:01.000000000 -0400
2 --- bash-4.3.30/execute_cmd.c   2016-08-05 15:20:09.190086126 -0400
3 ***************
4 *** 5148,5151 ****
5 --- 5148,5153 ----
6     set_sigchld_handler ();
7     init_job_stats ();
8 + #else
9 +   stop_making_children ();
10   #endif /* JOB_CONTROL */