portable: do not use SYNTHETIC_ERRNO for sd_bus_error_set_errno()
authorMike Yuan <me@yhndnzj.com>
Wed, 13 Nov 2024 16:45:53 +0000 (17:45 +0100)
committerMike Yuan <me@yhndnzj.com>
Wed, 13 Nov 2024 16:47:11 +0000 (17:47 +0100)
commit2f2058da0b88535cb3a95fc98e7b2f1ae4d35601
treefb769637e8ae636a799d9828aff3bcbabe40eacf
parent46f2dd800f0bcb4eeb0a8cb6faa95aa8bedac106
portable: do not use SYNTHETIC_ERRNO for sd_bus_error_set_errno()

The concept of synthetic errnos is about logging, which
is irrelevant irt bus error and we don't do any special
treatment in sd-bus for them, meaning the value propagated
would be spurious.
src/portable/portable.c