Merge pull request #1791 from koichirok/fix-freebsd-service-enabled-check

Fix service enabled check failure on FreeBSD
This commit is contained in:
Brian Coca 2015-07-24 09:58:29 -04:00
commit 0edb7348b8

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):