This commit is contained in:
Thomas S Hatch 2012-07-18 11:37:38 -06:00
parent de30042127
commit 323d8aa537

View File

@ -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 '