From: Mike Yuan Date: Wed, 4 Mar 2026 13:31:54 +0000 (+0100) Subject: machine-dbus: do not check for overlapping condition X-Git-Tag: v260-rc3~93^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F40947%2Fhead;p=thirdparty%2Fsystemd.git machine-dbus: do not check for overlapping condition Follow-up for c5e48e3a66b23313cd4931b9dc25a8f48cfb1035 This also makes things in line with the varlink method. --- diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c index b09a2facb0b..d567cd6d503 100644 --- a/src/machine/machine-dbus.c +++ b/src/machine/machine-dbus.c @@ -380,7 +380,7 @@ int bus_machine_method_open_shell(sd_bus_message *message, void *userdata, sd_bu r, "Failed to check if machine '%s' is running in the root user namespace: %m", m->name); - if (r != 0) + if (r > 0) return sd_bus_error_set( error, SD_BUS_ERROR_ACCESS_DENIED,