summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-03 02:07:24 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-03 02:08:35 +0100
commitc71ecee578fa2d89d13f11edd7b27001f663bbb5 (patch)
treee3b6272483dfa0847b2e8b136d1fa20be90c03b0 /src
parent144e9e5890c2475145eba08f4400869ebdc892cd (diff)
dbus1: make gcc shut up
Diffstat (limited to 'src')
-rw-r--r--src/dbus1-generator/dbus1-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus1-generator/dbus1-generator.c b/src/dbus1-generator/dbus1-generator.c
index 8795e3b0da..dd299edc75 100644
--- a/src/dbus1-generator/dbus1-generator.c
+++ b/src/dbus1-generator/dbus1-generator.c
@@ -294,7 +294,7 @@ int main(int argc, char *argv[]) {
path = "/usr/share/dbus-1/system-services";
type = "system";
units = SYSTEM_DATA_UNIT_PATH;
- } else if (r < 0) {
+ } else {
log_error("Failed to determine whether we are running as user or system instance: %s", strerror(-r));
return r;
}