cli: Fix erronous return

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
This commit is contained in:
Ikey Doherty
2016-02-22 02:03:42 +00:00
parent 342dfd68b5
commit 321ca3196a
+3
View File
@@ -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));