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 self.running == None:
|
||||
if rc == 3:
|
||||
self.running = False
|
||||
if rc == 2:
|
||||
if rc in [2, 3, 69]:
|
||||
self.running = False
|
||||
elif rc == 0:
|
||||
self.running = True
|
||||
|
|
Loading…
Reference in a new issue