summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-05-06 16:09:01 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-05-06 16:09:01 -0400
commit4f5d4161611ba4189c3e36a67bd00cae21afa562 (patch)
treed2a90e864a918fdc283ff0b4c23144ef27d0acf9 /cobbler
parentae4a1c0b3551aadba6ea09bd6211e5c617d034a4 (diff)
downloadthird_party-cobbler-4f5d4161611ba4189c3e36a67bd00cae21afa562.tar.gz
third_party-cobbler-4f5d4161611ba4189c3e36a67bd00cae21afa562.tar.xz
third_party-cobbler-4f5d4161611ba4189c3e36a67bd00cae21afa562.zip
Ignore system exit
Diffstat (limited to 'cobbler')
-rwxr-xr-xcobbler/cobbler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cobbler/cobbler.py b/cobbler/cobbler.py
index 0e15175..5081009 100755
--- a/cobbler/cobbler.py
+++ b/cobbler/cobbler.py
@@ -52,6 +52,8 @@ def main():
exitcode = 0
try:
return BootCLI().run(sys.argv)
+ except SystemExit, ex:
+ return 1
except Exception, exc:
(t, v, tb) = sys.exc_info()
try: