mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #1872 from runekaagaard/devel
Service mod.: Proper(?) handling of return code 69
This commit is contained in:
commit
bcdbb19549
1 changed files with 1 additions and 3 deletions
|
@ -313,9 +313,7 @@ class LinuxService(Service):
|
||||||
|
|
||||||
# if the job status is still not known check it by response code
|
# if the job status is still not known check it by response code
|
||||||
if self.running == None:
|
if self.running == None:
|
||||||
if rc == 3:
|
if rc in [2, 3, 69]:
|
||||||
self.running = False
|
|
||||||
if rc == 2:
|
|
||||||
self.running = False
|
self.running = False
|
||||||
elif rc == 0:
|
elif rc == 0:
|
||||||
self.running = True
|
self.running = True
|
||||||
|
|
Loading…
Reference in a new issue