summaryrefslogtreecommitdiffstats
path: root/lib/network/network.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/network.pm')
-rw-r--r--lib/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/network.pm b/lib/network/network.pm
index ccc3ec9..2e0ee40 100644
--- a/lib/network/network.pm
+++ b/lib/network/network.pm
@@ -802,7 +802,7 @@ sub easy_dhcp {
sub reload_net_applet() {
#- make net_applet reload the configuration
my $pid = chomp_(`pidof -x net_applet`);
- $pid and kill 1, $pid;
+ $pid and eval { kill 1, $pid };
}
sub configure_network {