diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2012-05-21 12:54:43 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2012-05-21 12:59:00 +0200 |
commit | a223b325b409b325f4c2c2e11268596edd842631 (patch) | |
tree | b51ade58917cc06ed2c310de629372b875ab4ce9 /units/dev-mqueue.mount | |
parent | 80fbf05e75b75b7dd342ec844275efae90c479ec (diff) |
systemctl: drop useless DBus calls from 'systemctl show foo.service'
systemctl called LoadUnit, GetUnit, GetAll in this order to get the properties.
It is useless to load units explicitly, because it won't ensure anything. The
unit may be freed immediately by the garbage collector.
It is unnecessary to call GetUnit, because systemctl can easily translate the
unit name to DBus path by itself.
GetAll will load the unit if necessary.
Diffstat (limited to 'units/dev-mqueue.mount')
0 files changed, 0 insertions, 0 deletions