From 5c4bb5730e0c7c53b9025aeadf178aa1ff3781d6 Mon Sep 17 00:00:00 2001 From: Thoai Nguyen Date: Wed, 22 Jan 2014 15:27:00 -0500 Subject: [PATCH] reorder usermod options --- library/system/user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/system/user b/library/system/user index 0e29e443bf..7d39c4439c 100644 --- a/library/system/user +++ b/library/system/user @@ -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')