diff options
author | Milan Bouchet-Valat <nalimilan@club.fr> | 2009-10-31 23:43:42 +0100 |
---|---|---|
committer | Milan Bouchet-Valat <nalimilan@club.fr> | 2009-10-31 23:48:54 +0100 |
commit | c9ee9b4fbc4e39767ae658ab2636aac2bc37944a (patch) | |
tree | b5a87f7bb79a8944b9850c9af9ff89ab8c2b0eb4 /Users | |
parent | 15ebe67329545829149d7b1ee9c44e5d4635b69b (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.
Diffstat (limited to 'Users')
-rw-r--r-- | Users/Users.pm | 3 |
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]); |