diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2015-01-22 15:46:27 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2015-02-02 18:38:07 +0000 |
commit | ef06f2a23344898e13675c15e9c8475f6768ddee (patch) | |
tree | 27c617d8c0be97058180bc0d69ac4a49eedb4d67 | |
parent | 795ea3007ed211e50249e2f886023a8701dd76a9 (diff) | |
download | dbus-ef06f2a23344898e13675c15e9c8475f6768ddee.tar.gz |
bus: exit on fatal errors even if not syslogging
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88808
Reviewed-by: Philip Withnall
-rw-r--r-- | bus/bus.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1339,6 +1339,10 @@ bus_context_log (BusContext *context, DBusSystemLogSeverity severity, const char vfprintf (stderr, msg, args); fprintf (stderr, "\n"); va_end (args); + + if (severity == DBUS_SYSTEM_LOG_FATAL) + _dbus_exit (1); + return; } |