mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +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))
|
cmd += '-G {0} '.format(','.join(groups))
|
||||||
if home:
|
if home:
|
||||||
if home is not True:
|
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:
|
else:
|
||||||
if not system:
|
if not system:
|
||||||
cmd += '-m '
|
cmd += '-m '
|
||||||
|
Loading…
Reference in New Issue
Block a user