diff options
-rw-r--r-- | plugins/t/check_by_ssh.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/t/check_by_ssh.t b/plugins/t/check_by_ssh.t index 8d1b1904..4797390d 100644 --- a/plugins/t/check_by_ssh.t +++ b/plugins/t/check_by_ssh.t | |||
@@ -44,6 +44,10 @@ for (@responce) { | |||
44 | 44 | ||
45 | my $result; | 45 | my $result; |
46 | 46 | ||
47 | # expand paths | ||
48 | $ssh_key = glob($ssh_key) if $ssh_key; | ||
49 | $ssh_conf = glob($ssh_conf) if $ssh_conf; | ||
50 | |||
47 | ## Single active checks | 51 | ## Single active checks |
48 | 52 | ||
49 | for (my $i=0; $i<4; $i++) { | 53 | for (my $i=0; $i<4; $i++) { |