monitoring: Don't show SSH command when transporting a command to a remote command file failed

refs #8006
This commit is contained in:
Eric Lippmann 2015-05-28 16:33:35 +02:00
parent a4a1a296d1
commit 9f155ea99d
1 changed files with 1 additions and 2 deletions

View File

@ -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)
);
}