monitoring: Don't show SSH command when transporting a command to a remote command file failed
refs #8006
This commit is contained in:
parent
a4a1a296d1
commit
9f155ea99d
|
@ -201,8 +201,7 @@ class RemoteCommandFile implements CommandTransportInterface
|
|||
exec($ssh, $output, $status);
|
||||
if ($status !== 0) {
|
||||
throw new TransportException(
|
||||
'Can\'t send external Icinga command "%s": %s',
|
||||
$ssh,
|
||||
'Can\'t send external Icinga command: %s',
|
||||
implode(' ', $output)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue