From 28a0ab1d1718477f879e4e3f63296eeb6f6d0af1 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 26 Jul 2005 08:10:07 +0000 Subject: kill(signal, ) sends the signal to the calling process, avoid it --- perl-install/network/network.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/network') 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; -- cgit v1.2.1