diff --git a/src/detect-virt.c b/src/detect-virt.c index bdcd27df6e..a83fb3ced5 100644 --- a/src/detect-virt.c +++ b/src/detect-virt.c @@ -164,8 +164,8 @@ int main(int argc, char *argv[]) { break; } - if (id && !arg_quiet) - puts(id); + if (!arg_quiet) + puts(id ? id : "none"); return retval; }