check_by_ssh: tests expand key and config path

some systems do not expand the path automatically.
This commit is contained in:
Sven Nierlein 2013-09-17 11:34:06 +02:00 committed by Sven Nierlein
parent ddff48fb25
commit b83904c528

View file

@ -44,6 +44,10 @@ for (@responce) {
my $result;
# expand paths
$ssh_key = glob($ssh_key) if $ssh_key;
$ssh_conf = glob($ssh_conf) if $ssh_conf;
## Single active checks
for (my $i=0; $i<4; $i++) {