diff --git a/samples/vboxwrapper/vbox.cpp b/samples/vboxwrapper/vbox.cpp index 7ae986d6da..2ff06fd728 100644 --- a/samples/vboxwrapper/vbox.cpp +++ b/samples/vboxwrapper/vbox.cpp @@ -190,6 +190,7 @@ CLEANUP: if ((ulExitCode != 0) || (!pi.hProcess)) { retval = ERR_FOPEN; } + #else FILE* fp; @@ -219,6 +220,7 @@ CLEANUP: } #endif + if (retval) { fprintf( stderr,