summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sca-java-1.x/branches/sca-java-travelsample-1.0/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/branches/sca-java-travelsample-1.0/services/smsgateway-rmi/src/main/java/com/tuscanyscatours/smsgateway/SMSGatewayRMIServiceBootstrap.java b/sca-java-1.x/branches/sca-java-travelsample-1.0/services/smsgateway-rmi/src/main/java/com/tuscanyscatours/smsgateway/SMSGatewayRMIServiceBootstrap.java
index 5b223fb40c..4a039ecec0 100644
--- a/sca-java-1.x/branches/sca-java-travelsample-1.0/services/smsgateway-rmi/src/main/java/com/tuscanyscatours/smsgateway/SMSGatewayRMIServiceBootstrap.java
+++ b/sca-java-1.x/branches/sca-java-travelsample-1.0/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);
}
}