systemctl: suppress error message when doing "systemctl daemon-reexec"
When we issue a reexecution request via the private socket we need to expect a "Disconnected" in addition to "NoReply" when the connection is terminated.
This commit is contained in:
@@ -1383,6 +1383,8 @@ int bus_method_call_with_reply(
|
||||
r = -EACCES;
|
||||
else if (dbus_error_has_name(&error, DBUS_ERROR_NO_REPLY))
|
||||
r = -ETIMEDOUT;
|
||||
else if (dbus_error_has_name(&error, DBUS_ERROR_DISCONNECTED))
|
||||
r = -ECONNRESET;
|
||||
else
|
||||
r = -EIO;
|
||||
goto finish;
|
||||
|
||||
Reference in New Issue
Block a user