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.reviewable/pr18780/r1
parent
c6dd88c1d1
commit
5f37624eb4
Loading…
Reference in New Issue