mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-12 10:10:00 -04:00
check_ssh: Fix format expression
This commit is contained in:
parent
69925c782b
commit
3c53bf623d
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ int ssh_connect(mp_check *overall, char *haddr, int hport, char *desired_remote_
|
|||
|
||||
if (recv_ret < 0) {
|
||||
connection_sc = mp_set_subcheck_state(connection_sc, STATE_CRITICAL);
|
||||
xasprintf(&connection_sc.output, "%s", "SSH CRITICAL - %s", strerror(errno));
|
||||
xasprintf(&connection_sc.output, "%s - %s", "SSH CRITICAL - ", strerror(errno));
|
||||
mp_add_subcheck_to_check(overall, connection_sc);
|
||||
return OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue