Commit ef06f2a2 authored by Simon McVittie's avatar Simon McVittie

bus: exit on fatal errors even if not syslogging

Reviewed-by: Philip Withnall
parent 795ea300
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment