mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
parent
14f2f4ca41
commit
71013fbc32
@ -396,9 +396,10 @@ def zero(protocol=None, service_address=None):
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
if service_address:
|
if service_address:
|
||||||
cmd = '{0} -Z {1}'.format(__detect_os(),
|
cmd = '{0} -Z {1}'.format(
|
||||||
_build_cmd(protocol=None,
|
__detect_os(),
|
||||||
service_address=None))
|
_build_cmd(protocol=protocol, service_address=service_address)
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
cmd = '{0} -Z'.format(__detect_os())
|
cmd = '{0} -Z'.format(__detect_os())
|
||||||
out = __salt__['cmd.run_all'](cmd)
|
out = __salt__['cmd.run_all'](cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user