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) --- sshd_wizard/Sshd.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sshd_wizard') diff --git a/sshd_wizard/Sshd.pm b/sshd_wizard/Sshd.pm index 99c524cd..e86a4028 100755 --- a/sshd_wizard/Sshd.pm +++ b/sshd_wizard/Sshd.pm @@ -214,7 +214,7 @@ sub new { sub write_conf_restart_ssh { $sshd->write_conf($conf); - services::restart_or_start('sshd'); + reload_or_restart('sshd'); } sub global_config { -- cgit v1.2.1