diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-05-06 16:09:01 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-05-06 16:09:01 -0400 |
commit | 4f5d4161611ba4189c3e36a67bd00cae21afa562 (patch) | |
tree | d2a90e864a918fdc283ff0b4c23144ef27d0acf9 /cobbler | |
parent | ae4a1c0b3551aadba6ea09bd6211e5c617d034a4 (diff) | |
download | third_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-x | cobbler/cobbler.py | 2 |
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: |