aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r--plugins/check_tcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index bef0e752..c537729f 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -300,9 +300,9 @@ main (int argc, char **argv)
state_text (result), (int) (end_time - start_time), server_port);
if (status)
- printf (" [%s]\n", status);
- else
- printf ("\n");
+ printf (" [%s]", status);
+
+ printf ("|time=%d\n", (int) (end_time - start_time));
return result;
}