main: Fix error message when we fail to own D-Bus service
As we can reach that handler if we're either running already, or if the D-Bus .service file is not installed properly. Closes #36
This commit is contained in:
@@ -512,7 +512,7 @@ name_lost_handler (GDBusConnection *connection,
|
|||||||
const gchar *name,
|
const gchar *name,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
g_debug ("iio-sensor-proxy is already running");
|
g_debug ("iio-sensor-proxy is already running, or it cannot own its D-Bus name. Verify installation.");
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user