From 3916cbf9575d4b4db015fd629fdcaf395724cd9c Mon Sep 17 00:00:00 2001 From: Derek Jennings Date: Tue, 27 Aug 2013 00:59:13 +0100 Subject: fix race condition checking service status (mga#10934) --- proxy_wizard/Squid.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proxy_wizard') 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'); } -- cgit v1.2.1