mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Fix #1482
This commit is contained in:
parent
de30042127
commit
323d8aa537
@ -58,7 +58,10 @@ def add(name,
|
||||
cmd += '-G {0} '.format(','.join(groups))
|
||||
if home:
|
||||
if home is not True:
|
||||
cmd += '-d {0} '.format(home)
|
||||
if system:
|
||||
cmd += '-d {0} '.format(home)
|
||||
else:
|
||||
cmd += '-m -d {0} '.format(home)
|
||||
else:
|
||||
if not system:
|
||||
cmd += '-m '
|
||||
|
Loading…
Reference in New Issue
Block a user