dbus: Log error on dbus exit
This commit is contained in:
		@ -64,9 +64,11 @@ on_name_lost (GDBusConnection *connection,
 | 
				
			|||||||
              gpointer         user_data)
 | 
					              gpointer         user_data)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    // TODO: could conceivable continue working
 | 
					    // TODO: could conceivable continue working
 | 
				
			||||||
 | 
					    // if intrnal changes stop sending dbus changes
 | 
				
			||||||
    (void)connection;
 | 
					    (void)connection;
 | 
				
			||||||
    (void)name;
 | 
					    (void)name;
 | 
				
			||||||
    (void)user_data;
 | 
					    (void)user_data;
 | 
				
			||||||
 | 
					    g_error("DBus unavailable, unclear how to continue.");
 | 
				
			||||||
    exit (1);
 | 
					    exit (1);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user