Merge pull request #43016 from gtmanfred/service

service should return false on exception
This commit is contained in:
Nicole Thomas 2017-08-17 14:08:04 -04:00 committed by GitHub
commit 58f070d7a7

View File

@ -893,7 +893,7 @@ def mod_watch(name,
try:
result = func(name, **func_kwargs)
except CommandExecutionError as exc:
ret['result'] = True
ret['result'] = False
ret['comment'] = exc.strerror
return ret