diff --git a/DDG4/python/DDSim/DD4hepSimulation.py b/DDG4/python/DDSim/DD4hepSimulation.py
index c9d995820fd96354c3e6212155fdd9b4cc0d794b..307b07a41d95fa82bc9a48ab18098f3c572f7cbb 100644
--- a/DDG4/python/DDSim/DD4hepSimulation.py
+++ b/DDG4/python/DDSim/DD4hepSimulation.py
@@ -260,11 +260,11 @@ class DD4hepSimulation(object):
       logger.info("=" * 80)
       pprint(vars(self))
       logger.info("=" * 80)
-      exit(1)
+      exit(0)
 
     if self._dumpSteeringFile:
       self.__printSteeringFile(parser)
-      exit(1)
+      exit(0)
 
   def getDetectorLists(self, detectorDescription):
     ''' get lists of trackers and calorimeters that are defined in detectorDescription (the compact xml file)'''