diff options
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r-- | plugins/check_tcp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index bef0e75..c537729 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
@@ -300,9 +300,9 @@ main (int argc, char **argv) | |||
300 | state_text (result), (int) (end_time - start_time), server_port); | 300 | state_text (result), (int) (end_time - start_time), server_port); |
301 | 301 | ||
302 | if (status) | 302 | if (status) |
303 | printf (" [%s]\n", status); | 303 | printf (" [%s]", status); |
304 | else | 304 | |
305 | printf ("\n"); | 305 | printf ("|time=%d\n", (int) (end_time - start_time)); |
306 | 306 | ||
307 | return result; | 307 | return result; |
308 | } | 308 | } |