mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #25283 from jfindlay/win_user
ensure ret is always defined
This commit is contained in:
commit
4eb62e322d
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user