diff options
author | Jari Aalto <jari.aalto@cante.net> | 2005-12-07 14:08:12 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:57 +0000 |
commit | 95732b497d12c98613bb3c5db16b61f377501a59 (patch) | |
tree | 5e1cdf79eb0407e09dca4c0ec29e11442c7d1d15 /builtins/exec.def | |
parent | eb87367179effbe5f430236db8259006d71438b7 (diff) | |
download | bash-95732b497d12c98613bb3c5db16b61f377501a59.tar.gz |
Imported from ../bash-3.1.tar.gz.
Diffstat (limited to 'builtins/exec.def')
-rw-r--r-- | builtins/exec.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtins/exec.def b/builtins/exec.def index acfdae10..0818a25e 100644 --- a/builtins/exec.def +++ b/builtins/exec.def @@ -221,7 +221,8 @@ failed_exec: initialize_signals (1); #if defined (JOB_CONTROL) - restart_job_control (); + if (interactive_shell || job_control) + restart_job_control (); #endif /* JOB_CONTROL */ return (exit_value); |