Fix service enabled check failure on FreeBSD

This commit is contained in:
KIKUCHI Koichiro 2015-07-22 19:10:05 +09:00 committed by Matt Clay
parent 0fd3ece053
commit dab7305d3b

View file

@ -988,7 +988,7 @@ class FreeBsdService(Service):
try:
return self.service_enable_rcconf()
except:
except Exception:
self.module.fail_json(msg='unable to set rcvar')
def service_control(self):