Missing brackets

This commit is contained in:
Cezary Morga 2012-05-09 15:09:46 +02:00
parent 463dc8a77f
commit 0b8f5b62ea

View File

@ -42,7 +42,7 @@ def restart(jail=''):
CLI Example::
salt '*' jail.restart <jail name>
salt '*' jail.restart [<jail name>]
'''
cmd = 'service jail onerestart ${0}'.format(jail)
return not __salt__['cmd.retcode'](cmd)