diff options
Diffstat (limited to 'installman')
-rwxr-xr-x | installman | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/installman b/installman index aab0c22fc6..6c99682334 100755 --- a/installman +++ b/installman @@ -121,7 +121,12 @@ sub cmd { local($cmd) = @_; print STDERR " $cmd\n"; unless ($notify) { - fork ? wait : exec $cmd; + if ($Config{d_fork}) { + fork ? wait : exec $cmd; # Allow user to ^C out of command. + } + else { + system $cmd; + } warn "Command failed!!\n" if $?; } return $? != 0; |