More informative error message, when dbus initialization fails
This commit is contained in:
parent
0c3c7c8d16
commit
0368c63174
2
dbus.c
2
dbus.c
@ -352,7 +352,7 @@ static void on_name_acquired(GDBusConnection * connection,
|
|||||||
static void on_name_lost(GDBusConnection * connection,
|
static void on_name_lost(GDBusConnection * connection,
|
||||||
const gchar * name, gpointer user_data)
|
const gchar * name, gpointer user_data)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Name Lost\n");
|
fprintf(stderr, "Name Lost. Is Another notification daemon running?\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user