diff options
author | Derek Jennings <djennings@mageia.org> | 2013-08-27 15:33:27 +0100 |
---|---|---|
committer | Derek Jennings <djennings@mageia.org> | 2013-08-27 15:33:27 +0100 |
commit | d8d2234ca5d91b7344266396927effda4a20ea68 (patch) | |
tree | b6eefd2927d68331338bb71f4d357d4412721478 /sshd_wizard/Sshd.pm | |
parent | dbca05ddf77e5188f8b2e3f91c311a6bf258015a (diff) | |
download | drakwizard-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-x | sshd_wizard/Sshd.pm | 2 |
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 { |