Index: src/main/native/launcher/shared/main.c =================================================================== --- src/main/native/launcher/shared/main.c (revision 454672) +++ src/main/native/launcher/shared/main.c (working copy) @@ -325,13 +325,15 @@ copyrightWritten = 1; versionWritten = 1; } + goto bail; } if (versionFlag == 1) { /* * We are being asked to print our version, and quit */ - hyfile_printf (PORTLIB, HYPORT_TTY_OUT, HY_COPYRIGHT_STRING "\n"); + hyfile_printf (PORTLIB, HYPORT_TTY_OUT, HY_COPYRIGHT_STRING "\n"); + goto bail; } /* set up the properties file */ propertiesFileName = hymem_allocate_memory (strlen (vmiPath) + 12);