summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-10-10 08:05:33 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-10-10 08:05:33 -0500
commit54f1fd380fb005dbe37237cbb3e085340539bc3b (patch)
treed61ba1cc107324745867f0414b0a361fe97c265a /src/sbin
parente544b6717cdcb4b2adae76a4a5f63cc1b6b346c8 (diff)
downloadbcfg2-54f1fd380fb005dbe37237cbb3e085340539bc3b.tar.gz
bcfg2-54f1fd380fb005dbe37237cbb3e085340539bc3b.tar.bz2
bcfg2-54f1fd380fb005dbe37237cbb3e085340539bc3b.zip
bcfg2-report-collector: Raise SystemExit instead of SystemError
This is causing a hang on shutdown when not daemonized.
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg2-report-collector4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sbin/bcfg2-report-collector b/src/sbin/bcfg2-report-collector
index bc941ff6f..a0ee2259a 100755
--- a/src/sbin/bcfg2-report-collector
+++ b/src/sbin/bcfg2-report-collector
@@ -30,9 +30,9 @@ def main():
except ReportingError:
msg = sys.exc_info()[1]
logger.error(msg)
- raise SystemError(1)
+ raise SystemExit(1)
except KeyboardInterrupt:
- raise SystemError(1)
+ raise SystemExit(1)
if __name__ == '__main__':