summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;