summaryrefslogtreecommitdiffstats
path: root/sshd_wizard
diff options
context:
space:
mode:
authorDerek Jennings <derekjenn@gmail.com>2013-08-27 00:59:13 +0100
committerDerek Jennings <derekjenn@gmail.com>2013-08-27 00:59:13 +0100
commit3916cbf9575d4b4db015fd629fdcaf395724cd9c (patch)
tree848bd6365f8c8d123f14a0bc12dd91c0d6e9dafc /sshd_wizard
parent6a7e38b9afdb0550195c0219ddccd83839c368c0 (diff)
downloaddrakwizard-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 'sshd_wizard')
-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 {