diff --git a/salt/modules/openbsdrcctl.py b/salt/modules/openbsdrcctl.py index 694ca5824c..2d0828690b 100644 --- a/salt/modules/openbsdrcctl.py +++ b/salt/modules/openbsdrcctl.py @@ -213,8 +213,8 @@ def enable(name, **kwargs): salt '*' service.enable salt '*' service.enable flags= ''' - flags = kwargs.get('flags', \ - __salt__['config.option']('service.flags', \ + flags = kwargs.get('flags', + __salt__['config.option']('service.flags', default='')) if not flags: