support: fix typo in mkusers
authorSamuel Martin <s.martin49@gmail.com>
Wed, 4 Dec 2013 12:00:54 +0000 (13:00 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 4 Dec 2013 12:11:32 +0000 (13:11 +0100)
This patch fixes typos in the 'encode_password' function calls.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
support/scripts/mkusers

index 19aa085e10c463375798cfa13aa158df64636576..3b287b8a9a5bd74576d8010275b44f4add966128 100755 (executable)
@@ -307,10 +307,10 @@ add_one_user() {
     esac
     case "${passwd}" in
         !=*)
-            _passwd='!'"$( encode_passwd "${passwd#!=}" )"
+            _passwd='!'"$( encode_password "${passwd#!=}" )"
             ;;
         =*)
-            _passwd="$( encode_passwd "${passwd#=}" )"
+            _passwd="$( encode_password "${passwd#=}" )"
             ;;
         *)
             _passwd="${passwd}"