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 /proxy_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 'proxy_wizard')
-rwxr-xr-x | proxy_wizard/Squid.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy_wizard/Squid.pm b/proxy_wizard/Squid.pm index 662974fc..f46091af 100755 --- a/proxy_wizard/Squid.pm +++ b/proxy_wizard/Squid.pm @@ -278,7 +278,7 @@ level = $o->{var}{wiz_squid_level}"); } $file; system("/sbin/chkconfig --level 345 squid on"); - services::restart_or_start('squid'); + reload_or_restart('squid'); undef $w; check_started('squid'); } |