summaryrefslogtreecommitdiff
path: root/src/shared/gcrypt-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-06-13 19:11:26 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-13 19:17:14 +0200
commit3dced37b7c2c9a5c733817569d2bbbaa397adaf7 (patch)
tree827ff7892c6ebb0fa636559d7dea4e5657c7a64d /src/shared/gcrypt-util.h
parent51e22f8851fae578188bd190510a205f0e4487f4 (diff)
systemctl: rework "systemctl status" a bit
This reworks "systemctl status" and "systemctl show" a bit. It removes the definition of the `property_info` structure, because we can simply reuse the existing UnitStatusInfo type for that. The "could not be found" message is now printed by show_one() itself (and not its caller), so that it is shown regardless by who the function is called. (This makes it necessary to pass the unit name to the function.) This also adds all properties found to a set, and then checks if any of the properties passed via "--property=" is mising in it, if so, a proper error is generated. Support for checking the PID file of a unit is removed, as this cannot be done reasonably client side (since the systemd instance we are talking to might sit on another host) Replaces: #3411 Fixes: #3425 Also see: #3504
Diffstat (limited to 'src/shared/gcrypt-util.h')
0 files changed, 0 insertions, 0 deletions