mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-27 09:06:42 -04:00
check_by_ssh: tests expand key and config path
some systems do not expand the path automatically.
This commit is contained in:
parent
ddff48fb25
commit
b83904c528
1 changed files with 4 additions and 0 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue