defect 3994

This commit is contained in:
lissav 2014-02-25 11:41:15 -05:00
parent 2ec690f18f
commit 04015bd64d

View File

@ -1824,8 +1824,8 @@ sub enableSSH
} else {
# if not a service node we need to check, before enabling
if (defined($groups_hash)) {
if ($groups_hash->{ALLGROUPS} == 1)
if (keys %$groups_hash) { # not empty
if ($groups_hash->{ALLGROUPS} == 1)
{
$enablessh=1;
}