From 321ca3196ab32423e4fac27a850ef3363f6b2fa2 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Mon, 22 Feb 2016 02:03:42 +0000 Subject: [PATCH] cli: Fix erronous return Signed-off-by: Ikey Doherty --- src/plugins/output/cli/cli.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/output/cli/cli.c b/src/plugins/output/cli/cli.c index d04b313..eaa610f 100644 --- a/src/plugins/output/cli/cli.c +++ b/src/plugins/output/cli/cli.c @@ -93,6 +93,9 @@ static bool cli_write_report(CveCheckTool *self) ret = true; goto success; } + /* Nothing to write */ + ret = true; + goto success; io_error: fprintf(stderr, "Error writing to file: %s\n", strerror(errno));