diff options
author | Derek Jennings <djennings@mageia.org> | 2013-08-27 15:33:27 +0100 |
---|---|---|
committer | Derek Jennings <djennings@mageia.org> | 2013-08-27 15:33:27 +0100 |
commit | d8d2234ca5d91b7344266396927effda4a20ea68 (patch) | |
tree | b6eefd2927d68331338bb71f4d357d4412721478 /dhcp_wizard | |
parent | dbca05ddf77e5188f8b2e3f91c311a6bf258015a (diff) | |
download | drakwizard-d8d2234ca5d91b7344266396927effda4a20ea68.tar drakwizard-d8d2234ca5d91b7344266396927effda4a20ea68.tar.gz drakwizard-d8d2234ca5d91b7344266396927effda4a20ea68.tar.bz2 drakwizard-d8d2234ca5d91b7344266396927effda4a20ea68.tar.xz drakwizard-d8d2234ca5d91b7344266396927effda4a20ea68.zip |
fix race condition checking service status (mga#10934)
Diffstat (limited to 'dhcp_wizard')
-rwxr-xr-x | dhcp_wizard/Dhcp.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcp_wizard/Dhcp.pm b/dhcp_wizard/Dhcp.pm index e8411f52..4f83b478 100755 --- a/dhcp_wizard/Dhcp.pm +++ b/dhcp_wizard/Dhcp.pm @@ -261,7 +261,7 @@ mask = $wiz_ip_netmask, rng1 = $wiz_ip_range1, rng2 = $wiz_ip_range2, dname = $w s/#\s+doption routers.*//; } "/etc/dhcpd.conf"; - services::restart_or_start('dhcpd'); + reload_or_restart('dhcpd'); check_started('dhcpd'); } |