diff options
-rw-r--r-- | src/detect-virt.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |