summaryrefslogtreecommitdiffstats
path: root/proxy_wizard
diff options
context:
space:
mode:
authorDerek Jennings <djennings@mageia.org>2013-08-27 11:57:04 +0100
committerDerek Jennings <djennings@mageia.org>2013-08-27 11:57:04 +0100
commit0d40a86deb661105949fd78ad74dc7554697094e (patch)
treef940075496bf4dc69e9502e579a5a7386e104bfa /proxy_wizard
parentb66bff3521685687b0fb40995d46aa46a3b0f44e (diff)
downloaddrakwizard-0d40a86deb661105949fd78ad74dc7554697094e.tar
drakwizard-0d40a86deb661105949fd78ad74dc7554697094e.tar.gz
drakwizard-0d40a86deb661105949fd78ad74dc7554697094e.tar.bz2
drakwizard-0d40a86deb661105949fd78ad74dc7554697094e.tar.xz
drakwizard-0d40a86deb661105949fd78ad74dc7554697094e.zip
fix race condition checking service status (mga#10830)
Diffstat (limited to 'proxy_wizard')
-rwxr-xr-xproxy_wizard/Squid.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy_wizard/Squid.pm b/proxy_wizard/Squid.pm
index 25bc8b16..72e0fdd7 100755
--- a/proxy_wizard/Squid.pm
+++ b/proxy_wizard/Squid.pm
@@ -288,7 +288,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');
}