summaryrefslogtreecommitdiffstats
path: root/sshd_wizard/Sshd.pm
diff options
context:
space:
mode:
authorDerek Jennings <djennings@mageia.org>2013-08-27 15:33:27 +0100
committerDerek Jennings <djennings@mageia.org>2013-08-27 15:33:27 +0100
commitd8d2234ca5d91b7344266396927effda4a20ea68 (patch)
treeb6eefd2927d68331338bb71f4d357d4412721478 /sshd_wizard/Sshd.pm
parentdbca05ddf77e5188f8b2e3f91c311a6bf258015a (diff)
downloaddrakwizard-d8d2234ca5d91b7344266396927effda4a20ea68.tar
drakwizard-d8d2234ca5d91b7344266396927effda4a20ea68.tar.gz
drakwizard-d8d2234ca5d91b7344266396927effda4a20ea68.tar.bz2
drakwizard-d8d2234ca5d91b7344266396927effda4a20ea68.tar.xz
drakwizard-d8d2234ca5d91b7344266396927effda4a20ea68.zip
fix race condition checking service status (mga#10934)
Diffstat (limited to 'sshd_wizard/Sshd.pm')
-rwxr-xr-xsshd_wizard/Sshd.pm2
1 files changed, 1 insertions, 1 deletions
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 {