Merge pull request #25283 from jfindlay/win_user

ensure ret is always defined
This commit is contained in:
Thomas S Hatch 2015-07-09 19:29:24 -06:00
commit 4eb62e322d

View File

@ -125,8 +125,7 @@ def add(name,
profile=profile, profile=profile,
fullname=fullname) fullname=fullname)
if groups: ret = chgroups(name, groups) if groups else True
ret = chgroups(name, groups)
return ret return ret