[systemd-commits] src/dbus1-generator
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Dec 2 17:08:41 PST 2013
src/dbus1-generator/dbus1-generator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c71ecee578fa2d89d13f11edd7b27001f663bbb5
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 02:07:24 2013 +0100
dbus1: make gcc shut up
diff --git a/src/dbus1-generator/dbus1-generator.c b/src/dbus1-generator/dbus1-generator.c
index 8795e3b..dd299ed 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;
}
More information about the systemd-commits
mailing list