aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/Launcher.java
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2011-01-24 10:20:57 -0500
committerOmair Majid <[email protected]>2011-01-24 10:20:57 -0500
commit083e67e8198a1973a2eeff7f0474c34ef3f189be (patch)
treef8ab9b3cef5c0d4dfeccddee5bfcf18260223888 /netx/net/sourceforge/jnlp/Launcher.java
parentd277b6ba50730b256a3b633c7c95798657d149d8 (diff)
When exiting on failure, use appropriate exit code
2011-01-24 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/Launcher.java: Exit with error code * netx/net/sourceforge/jnlp/NetxPanel.java: Likewise.
Diffstat (limited to 'netx/net/sourceforge/jnlp/Launcher.java')
-rw-r--r--netx/net/sourceforge/jnlp/Launcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/Launcher.java b/netx/net/sourceforge/jnlp/Launcher.java
index 0fddf85..cff3ee1 100644
--- a/netx/net/sourceforge/jnlp/Launcher.java
+++ b/netx/net/sourceforge/jnlp/Launcher.java
@@ -834,7 +834,7 @@ public class Launcher {
exception = ex;
// Exit if we can't launch the application.
if (exitOnFailure)
- System.exit(0);
+ System.exit(1);
}
}