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