summaryrefslogtreecommitdiff
path: root/src/detect-virt
diff options
context:
space:
mode:
Diffstat (limited to 'src/detect-virt')
-rw-r--r--src/detect-virt/detect-virt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/detect-virt/detect-virt.c b/src/detect-virt/detect-virt.c
index a83fb3ced5..8b8fc45ea0 100644
--- a/src/detect-virt/detect-virt.c
+++ b/src/detect-virt/detect-virt.c
@@ -115,7 +115,8 @@ static int parse_argv(int argc, char *argv[]) {
int main(int argc, char *argv[]) {
const char *id = NULL;
- int retval, r;
+ int r;
+ int retval = EXIT_SUCCESS;
/* This is mostly intended to be used for scripts which want
* to detect whether we are being run in a virtualized