]> git.ipfire.org Git - thirdparty/systemd.git/commit
portablectl: fix regression when using --force without extension parameters
authorLuca Boccassi <bluca@debian.org>
Fri, 4 Aug 2023 12:34:00 +0000 (13:34 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 4 Aug 2023 17:29:57 +0000 (18:29 +0100)
commitbdfa3f3a5c6d16d56d432e7bc52be0c03a5ce6ad
tree0e965fdf51f6df3b27d81ac76d525d5bf9ade4d4
parent0e387e12950ac33ab75dd6edf88ad9227a5b7bfb
portablectl: fix regression when using --force without extension parameters

c18f4eb9e96836a made it possible to use --force with various verbs, by
going through the newer D-Bus methods. Except it didn't, as it regressed
during PR review refactorings, and nobody noticed because there were no
tests for it. Fix it, and add tests.

Follow-up for c18f4eb9e96836a6a8285ec42fd8a34c8909f6d9
src/portable/portablectl.c
test/units/testsuite-29.sh