reorder usermod options

pull/5728/head
Thoai Nguyen 11 years ago
parent ff8eb5f454
commit 5c4bb5730e

@ -389,9 +389,9 @@ class User(object):
cmd.append(self.comment)
if self.home is not None and info[5] != self.home:
cmd.append('-m')
cmd.append('-d')
cmd.append(self.home)
cmd.append('-m')
if self.shell is not None and info[6] != self.shell:
cmd.append('-s')

Loading…
Cancel
Save