summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-04-12 12:51:48 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-04-12 12:51:48 +0900
commitf54a2eb5703381f9e80604cdca84f91b72ae0090 (patch)
tree030fa674aa1fda98f7e9543e70ac728ffc8145fa /src
parentaf4c3c0fe134b4684ddf81b2a7f3e409688b99fd (diff)
ecore system upower - silence if service doesnt exist
this silences come complaint warnings that should not be noisy - eg if upower dbus service doesn't exist.
Diffstat (limited to '')
-rw-r--r--src/modules/ecore/system/upower/ecore_system_upower.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/ecore/system/upower/ecore_system_upower.c b/src/modules/ecore/system/upower/ecore_system_upower.c
index 00ed43a521..e07694c5d8 100644
--- a/src/modules/ecore/system/upower/ecore_system_upower.c
+++ b/src/modules/ecore/system/upower/ecore_system_upower.c
@@ -96,7 +96,9 @@ _warning_level_get_cb(void *data EINA_UNUSED,
96 96
97 if (eldbus_message_error_get(msg, &errname, &errmsg)) 97 if (eldbus_message_error_get(msg, &errname, &errmsg))
98 { 98 {
99 ERR("Message error %s - %s", errname, errmsg); 99// don't print errors because this results in complaints about upower not
100// existing and it's OK if it doesn't exist. just no feature enabled then
101// ERR("Message error %s - %s", errname, errmsg);
100 return; 102 return;
101 } 103 }
102 if (!eldbus_message_arguments_get(msg, "v", &variant)) 104 if (!eldbus_message_arguments_get(msg, "v", &variant))