X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fdetect-virt%2Fdetect-virt.c;h=8b8fc45ea0d61f4ad7d5076788f7adc199fe47a9;hb=db5eea5a79b98a2b889f15dc21a5e0b57859b86b;hp=a83fb3ced52059501ab6beae0c08edbfc6f99eb8;hpb=dce818b390a857a11f7dd634684500675cf79833;p=elogind.git diff --git a/src/detect-virt/detect-virt.c b/src/detect-virt/detect-virt.c index a83fb3ced..8b8fc45ea 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