diff options
-rw-r--r-- | src/libsystemd/sd-bus/bus-control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-control.c b/src/libsystemd/sd-bus/bus-control.c index 43ddfc651d..b4ca177f76 100644 --- a/src/libsystemd/sd-bus/bus-control.c +++ b/src/libsystemd/sd-bus/bus-control.c @@ -980,7 +980,7 @@ static int bus_get_owner_creds_dbus1(sd_bus *bus, uint64_t mask, sd_bus_creds ** pid_t pid = 0; int r; - if (!bus->ucred_valid && !isempty(bus->label)) + if (!bus->ucred_valid && isempty(bus->label)) return -ENODATA; c = bus_creds_new(); |