summaryrefslogtreecommitdiffstats
path: root/perl-install/run_program.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/run_program.pm')
-rw-r--r--perl-install/run_program.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm
index 71f4cee03..bb28acda3 100644
--- a/perl-install/run_program.pm
+++ b/perl-install/run_program.pm
@@ -57,7 +57,7 @@ sub raw {
my $stdout = $stdout_raw && (ref($stdout_raw) ? "$ENV{HOME}/tmp/.drakx-stdout.$$" : "$root$stdout_raw");
my $stderr = $stderr_raw && (ref($stderr_raw) ? "$ENV{HOME}/tmp/.drakx-stderr.$$" : "$root$stderr_raw");
- if (my $pid = fork) {
+ if (my $pid = fork()) {
my $ok;
eval {
local $SIG{ALRM} = sub { die "ALARM" };