diff options
author | Derek Jennings <derekjenn@gmail.com> | 2013-08-27 00:59:13 +0100 |
---|---|---|
committer | Derek Jennings <derekjenn@gmail.com> | 2013-08-27 00:59:13 +0100 |
commit | 3916cbf9575d4b4db015fd629fdcaf395724cd9c (patch) | |
tree | 848bd6365f8c8d123f14a0bc12dd91c0d6e9dafc /dhcp_wizard | |
parent | 6a7e38b9afdb0550195c0219ddccd83839c368c0 (diff) | |
download | drakwizard-3916cbf9575d4b4db015fd629fdcaf395724cd9c.tar drakwizard-3916cbf9575d4b4db015fd629fdcaf395724cd9c.tar.gz drakwizard-3916cbf9575d4b4db015fd629fdcaf395724cd9c.tar.bz2 drakwizard-3916cbf9575d4b4db015fd629fdcaf395724cd9c.tar.xz drakwizard-3916cbf9575d4b4db015fd629fdcaf395724cd9c.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'); } |