summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-26 08:10:07 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-26 08:10:07 +0000
commit28a0ab1d1718477f879e4e3f63296eeb6f6d0af1 (patch)
treedd135f976262b3abcadef7d24306900e6fb594e4 /perl-install/network
parentd4a274e5c9bd23a3525122dd46423a154561cd6c (diff)
downloaddrakx-backup-do-not-use-28a0ab1d1718477f879e4e3f63296eeb6f6d0af1.tar
drakx-backup-do-not-use-28a0ab1d1718477f879e4e3f63296eeb6f6d0af1.tar.gz
drakx-backup-do-not-use-28a0ab1d1718477f879e4e3f63296eeb6f6d0af1.tar.bz2
drakx-backup-do-not-use-28a0ab1d1718477f879e4e3f63296eeb6f6d0af1.tar.xz
drakx-backup-do-not-use-28a0ab1d1718477f879e4e3f63296eeb6f6d0af1.zip
kill(signal, <empty string>) sends the signal to the calling process, avoid it
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/network.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 1701c192e..e72da0e55 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -577,7 +577,9 @@ sub configure_network {
any { $_->{BOOTPROTO} =~ /^(pump|bootp)$/ } values %{$net->{ifcfg}} and $in->do_pkgs->install('pump');
}
- kill(1, `pidof -x net_applet`); #- make net_applet reload the configuration
+
+ #- make net_applet reload the configuration
+ my $pid = chomp_(`pidof -x net_applet`) and kill 1, $pid;
}
1;