systemctl: include unit ID in the property map
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 25 Nov 2023 20:36:10 +0000 (21:36 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 25 Nov 2023 20:36:10 +0000 (21:36 +0100)
commit538291b0d8dd157c66d9c340a18fceb57e8424d8
tree035351cd4e41a357120f19b7ed15a1f9924fc5ff
parenta986de6899e218a838c6dff93b8ebacb36d1ddf5
systemctl: include unit ID in the property map

Otherwise we get a not very nice message when trying to display a
non-existent man page:

~# systemctl cat test.service
[Unit]
Description=Hello
[Service]
ExecStart=true
~# systemctl help test.service
Documentation for (null) not known.
src/systemctl/systemctl-show.c