[system-tools-backends-clone] Fix major typo in command modifying users



commit c9ee9b4fbc4e39767ae658ab2636aac2bc37944a
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Sat Oct 31 23:43:42 2009 +0100

    Fix major typo in command modifying users
    
    Passing a variable that did not exist on default platform completely broke users modification in most cases.

 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]);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]