dump sshcollector stderr into null (#396)
If SSH prints anything to stderr, it leaks out to the caller of sshcollect. This change dumps it into /dev/null instead.
This commit is contained in:
committed by
Oliver Gorwits
parent
2f2c9f6b26
commit
788d3ac26b
@@ -97,6 +97,7 @@ sub main {
|
||||
password => $host->{password},
|
||||
timeout => 30,
|
||||
async => 0,
|
||||
default_stderr_file => '/dev/null',
|
||||
master_opts => [
|
||||
-o => "StrictHostKeyChecking=no",
|
||||
-o => "BatchMode=no"
|
||||
|
||||
Reference in New Issue
Block a user