mirror of https://github.com/ansible/ansible.git
Tweak error checking for "enabled" code.
Based on input from @jarmani: * A return value of 2 now means a service does not exist. Instead of trying to handle the different meanings of rc after running "status", just look at stderr to know if something failed. * Skip looking at stdout to make the code cleaner. Any errors should turn up on stderr.pull/18777/head
parent
32cb025b85
commit
25c3c03a11
Loading…
Reference in New Issue