summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-04-01 10:10:19 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-04-01 10:10:19 +0000
commit042071a56561a37e3328706c3f4b07201d0285e6 (patch)
tree548d01c291b97652b90bcf3f412316392045bf9b /perl-install/standalone
parent05a4d73fb33d00d61833106eca90cfce8d7cbede (diff)
downloaddrakx-042071a56561a37e3328706c3f4b07201d0285e6.tar
drakx-042071a56561a37e3328706c3f4b07201d0285e6.tar.gz
drakx-042071a56561a37e3328706c3f4b07201d0285e6.tar.bz2
drakx-042071a56561a37e3328706c3f4b07201d0285e6.tar.xz
drakx-042071a56561a37e3328706c3f4b07201d0285e6.zip
let execl() handle the arg array (this is safer)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/service_harddrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index f3b763979..2511ec87a 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -94,7 +94,7 @@ foreach (@harddrake::data::tree) {
my ($pid, $no);
$SIG{ALRM} = sub { $no = 1; kill 15, $pid };
unless ($pid = fork()) {
- exec("/usr/share/harddrake/confirm '$Ident' '$timeout' '$msg'");
+ exec("/usr/share/harddrake/confirm", $Ident, $timeout, $msg);
}
alarm($timeout);
wait();