diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-04-01 10:10:19 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-04-01 10:10:19 +0000 |
commit | 042071a56561a37e3328706c3f4b07201d0285e6 (patch) | |
tree | 548d01c291b97652b90bcf3f412316392045bf9b /perl-install/standalone | |
parent | 05a4d73fb33d00d61833106eca90cfce8d7cbede (diff) | |
download | drakx-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-x | perl-install/standalone/service_harddrake | 2 |
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(); |