mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
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);
|
exec($ssh, $output, $status);
|
||||||
if ($status !== 0) {
|
if ($status !== 0) {
|
||||||
throw new TransportException(
|
throw new TransportException(
|
||||||
'Can\'t send external Icinga command "%s": %s',
|
'Can\'t send external Icinga command: %s',
|
||||||
$ssh,
|
|
||||||
implode(' ', $output)
|
implode(' ', $output)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user