diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-01-03 17:21:06 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-01-03 17:21:06 +0000 |
commit | 039043dce270c730cd0880b30f18fd0665a8d5f9 (patch) | |
tree | 7fbc4332363731a88404cd2d9baacd721afdd548 /sshd_wizard | |
parent | 9518e6f02ba555d798877604c8f50daf44486f45 (diff) | |
download | drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar.gz drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar.bz2 drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar.xz drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.zip |
bless directly the wizard object instead of wrapping it in a hash
Diffstat (limited to 'sshd_wizard')
-rwxr-xr-x | sshd_wizard/Sshd.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sshd_wizard/Sshd.pm b/sshd_wizard/Sshd.pm index 3e35b7b4..2b60d415 100755 --- a/sshd_wizard/Sshd.pm +++ b/sshd_wizard/Sshd.pm @@ -202,9 +202,7 @@ $o->{pages} = { sub new { my ($class, $conf) = @_; - bless { - o => $o, - }, $class; + bless $o, $class; } sub write_conf_restart_ssh { |