Let suspend argument accept True as true

This commit is contained in:
James Roseborough
2008-04-23 18:31:25 +00:00
parent 53fa0d1ca0
commit d2fe6ccc52

View File

@@ -109,7 +109,7 @@ public class StandardLuaJVM {
!suspendOnStartStr.equalsIgnoreCase("false")) {
throw new ParseException("invalid debug flag: suspendOnStart");
}
this.bSuspendOnStart = "true".equals(suspendOnStartStr);
this.bSuspendOnStart = "true".equalsIgnoreCase(suspendOnStartStr);
System.setProperty(Platform.PROPERTY_LUAJ_DEBUG_SUSPEND_AT_START, suspendOnStartStr);
} else {
throw new ParseException("Invalid command line argument: " + debugOptions);