]> git.ipfire.org Git - thirdparty/systemd.git/commit
machine: lookup_machine_by_name_or_pidref() returns negative errno on failure 34882/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 31 Oct 2024 01:24:06 +0000 (10:24 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 31 Oct 2024 02:02:35 +0000 (11:02 +0900)
commit76423f301e671780c86e440161c4c7e3b1656f7e
treec6b29ea9b7ce3e4d319a50c6b88d91a566a85978
parent0ef4a21b09a4c5a492728c4d0de14d72d26b35d8
machine: lookup_machine_by_name_or_pidref() returns negative errno on failure

This effectively reverts d2c1451b7398f13439b694450a23def3cf31c8db.

After the commit d2ebf5cc1d59e29139f06efaa3a9b2c184cdaa25, sd_varlink_error()
returns negative errno, hence the function always return negative errno
on failure.
src/machine/machine-varlink.c
src/machine/machined-varlink.c