commit bash-20160701 snapshot

This commit is contained in:
Chet Ramey
2016-07-06 10:22:51 -04:00
parent d85b4caf90
commit d994b9d612
8 changed files with 80 additions and 24 deletions
+3 -1
View File
@@ -836,7 +836,9 @@ execute_command_internal (command, asynchronous, pipe_in, pipe_out,
#if !defined (JOB_CONTROL)
/* Do not wait for asynchronous processes started from
startup files. */
if (last_made_pid != last_asynchronous_pid)
if (last_made_pid != NO_PID && last_made_pid != last_asynchronous_pid)
#else
if (last_made_pid != NO_PID)
#endif
/* When executing a shell function that executes other
commands, this causes the last simple command in