mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 16:53:11 +00:00
Fix service enabled check failure on FreeBSD
This commit is contained in:
committed by
Matt Clay
parent
0fd3ece053
commit
dab7305d3b
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user