Merge pull request #30660 from invsblduck/revert_issue_21084

Revert service.mod_watch() bug introduced in Issue 21084
This commit is contained in:
Colton Myers 2016-01-27 15:49:37 -07:00
commit 00983b809b

View File

@ -554,8 +554,6 @@ def mod_watch(name,
func = __salt__['service.restart'] func = __salt__['service.restart']
verb = 'restart' verb = 'restart'
else: else:
if 'service.stop' in __salt__:
__salt__['service.stop'](name)
func = __salt__['service.start'] func = __salt__['service.start']
verb = 'start' verb = 'start'
if not past_participle: if not past_participle: