Merge pull request #33961 from bluca/busctl_exit

busctl: add support for --timeout and --num-matches for monitor verb
This commit is contained in:
Luca Boccassi
2024-08-09 14:48:40 +02:00
committed by GitHub
5 changed files with 53 additions and 12 deletions
+2
View File
@@ -108,3 +108,5 @@ busctl get-property -j \
# Invalid argument
(! busctl set-property org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager \
KExecWatchdogUSec t "foo")
busctl --quiet --timeout 1 --num-matches 1 --match "interface=org.freedesktop.systemd1.Manager" monitor >/dev/null