summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 683d394..de0370e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -99,6 +99,8 @@ main (int argc,
if (error != NULL) {
g_warning ("Failed to acquire %s: %s", CK_DBUS_NAME, error->message);
g_error_free (error);
+ } else {
+ g_warning ("Failed to acquire %s", CK_DBUS_NAME);
}
exit (1);
}
@@ -107,6 +109,8 @@ main (int argc,
if (error != NULL) {
g_warning ("Failed to acquire %s: %s", CK_DBUS_NAME, error->message);
g_error_free (error);
+ } else {
+ g_warning ("Failed to acquire %s", CK_DBUS_NAME);
}
exit (1);
}