summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-05-21 17:17:18 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-05-21 17:17:18 +0000
commitccd57c270de2d82689c2aa8d607809dc009342e8 (patch)
treedf4d5c5cae7ff71052b3793a144f3d3b1024513a /sca-java-1.x/trunk
parente05bc3d5f8179917c849e669039fcd5d25353ac2 (diff)
Change status code passed to System.exit()
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@947078 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk')
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-rmi/src/main/java/com/tuscanyscatours/smsgateway/SMSGatewayRMIServiceBootstrap.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-rmi/src/main/java/com/tuscanyscatours/smsgateway/SMSGatewayRMIServiceBootstrap.java b/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-rmi/src/main/java/com/tuscanyscatours/smsgateway/SMSGatewayRMIServiceBootstrap.java
index 5b223fb40c..4a039ecec0 100644
--- a/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-rmi/src/main/java/com/tuscanyscatours/smsgateway/SMSGatewayRMIServiceBootstrap.java
+++ b/sca-java-1.x/trunk/tutorials/travelsample/services/smsgateway-rmi/src/main/java/com/tuscanyscatours/smsgateway/SMSGatewayRMIServiceBootstrap.java
@@ -35,6 +35,6 @@ public class SMSGatewayRMIServiceBootstrap {
System.out.println("Press enter to shutdown.");
System.in.read();
rmiRegistry.unbind(serviceName);
- System.exit(-1);
+ System.exit(0);
}
}