summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan Bouchet-Valat <nalimilan@club.fr>2009-10-31 23:43:42 +0100
committerMilan Bouchet-Valat <nalimilan@club.fr>2009-10-31 23:48:54 +0100
commitc9ee9b4fbc4e39767ae658ab2636aac2bc37944a (patch)
treeb5a87f7bb79a8944b9850c9af9ff89ab8c2b0eb4
parent15ebe67329545829149d7b1ee9c44e5d4635b69b (diff)
Fix major typo in command modifying users
Passing a variable that did not exist on default platform completely broke users modification in most cases.
-rw-r--r--Users/Users.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Users/Users.pm b/Users/Users.pm
index 2ec852d..233a1cc 100644
--- a/Users/Users.pm
+++ b/Users/Users.pm
@@ -677,8 +677,7 @@ sub change_user
"-s", $$new_user[$SHELL],
"-u", $$new_user[$UID],
$$old_user[$LOGIN]);
-
- &Utils::File::run ($command);
+ &Utils::File::run (@command);
}
&change_user_chfn ($$new_user[$LOGIN], $$old_user[$COMMENT], $$new_user[$COMMENT]);