Fix service enabled check failure on FreeBSD
This commit is contained in:
parent
0fd3ece053
commit
dab7305d3b
1 changed files with 1 additions and 1 deletions
|
@ -988,7 +988,7 @@ class FreeBsdService(Service):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
return self.service_enable_rcconf()
|
return self.service_enable_rcconf()
|
||||||
except:
|
except Exception:
|
||||||
self.module.fail_json(msg='unable to set rcvar')
|
self.module.fail_json(msg='unable to set rcvar')
|
||||||
|
|
||||||
def service_control(self):
|
def service_control(self):
|
||||||
|
|
Loading…
Reference in a new issue