diff options
author | Benjamin ROBIN <dev@benjarobin.fr> | 2016-02-29 14:25:16 +0100 |
---|---|---|
committer | Benjamin ROBIN <dev@benjarobin.fr> | 2016-02-29 14:38:44 +0100 |
commit | fa0d5878c68a3f8d6a5612c4534471213c7e3d76 (patch) | |
tree | 29ab5bcf91d91139073ede6013444d76d2366440 /src/basic/util.c | |
parent | 5df2b16d4bf03ac3f3f5cf6f91d5490cab4681d6 (diff) |
systemctl: Replace check_one_unit() by get_state_one_unit()
The get_state_one_unit returns the enum of the active state of the unit
Do not rely on the string value of the active state.
Fix #2718 since the refactoring allow to handle more case
Diffstat (limited to 'src/basic/util.c')
0 files changed, 0 insertions, 0 deletions