Skip to content

Commit

Permalink
Merge pull request #23670 from rallytime/bp-23607
Browse files Browse the repository at this point in the history
Backport #23607 to 2014.7
  • Loading branch information
jfindlay committed May 13, 2015
2 parents 0f006ac + ed30dc4 commit 43f7025
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion salt/modules/systemd.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,8 @@ def status(name, sig=None):
'''
if _untracked_custom_unit_found(name) or _unit_file_changed(name):
systemctl_reload()
return not __salt__['cmd.retcode'](_systemctl_cmd('is-active', name))
return not __salt__['cmd.retcode'](_systemctl_cmd('is-active', name),
ignore_retcode=True)


def enable(name, **kwargs):
Expand Down

0 comments on commit 43f7025

Please sign in to comment.