Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp> --- collie/cluster.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/collie/cluster.c b/collie/cluster.c index 01c112b..4226ce6 100644 --- a/collie/cluster.c +++ b/collie/cluster.c @@ -178,7 +178,7 @@ again: else printf("%s\n", sd_strerror(rsp->result)); - if (!raw_output) { + if (!raw_output && rsp->data_length > 0) { ct = logs[0].ctime >> 32; printf("\nCluster created at %s\n", ctime(&ct)); printf("Epoch Time Version\n"); -- 1.7.2.5 |