Kill the print with fire

This commit is contained in:
Colton Myers 2015-01-08 11:32:34 -07:00
parent 54afd2a934
commit 2828fc06be

View File

@ -163,7 +163,6 @@ def deluser(name, username):
grp_info = __salt__['group.info'](name) grp_info = __salt__['group.info'](name)
try: try:
if username in grp_info['members']: if username in grp_info['members']:
print username
retcode = __salt__['cmd.retcode']( retcode = __salt__['cmd.retcode'](
'gpasswd --del {0} {1}'.format(username, name), 'gpasswd --del {0} {1}'.format(username, name),
python_shell=False) python_shell=False)