summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c
index f93127ce..af7089a7 100644
--- a/plugins/check_ssh.c
+++ b/plugins/check_ssh.c
@@ -289,7 +289,7 @@ int ssh_connect(mp_check *overall, char *haddr, int hport, char *desired_remote_
289 289
290 if (recv_ret < 0) { 290 if (recv_ret < 0) {
291 connection_sc = mp_set_subcheck_state(connection_sc, STATE_CRITICAL); 291 connection_sc = mp_set_subcheck_state(connection_sc, STATE_CRITICAL);
292 xasprintf(&connection_sc.output, "%s", "SSH CRITICAL - %s", strerror(errno)); 292 xasprintf(&connection_sc.output, "%s - %s", "SSH CRITICAL - ", strerror(errno));
293 mp_add_subcheck_to_check(overall, connection_sc); 293 mp_add_subcheck_to_check(overall, connection_sc);
294 return OK; 294 return OK;
295 } 295 }