[Buildroot] [PATCH 1/1] support: fix typo in mkusers

Samuel Martin s.martin49 at gmail.com
Wed Dec 4 12:00:54 UTC 2013


This patch fixes typos in the 'encode_password' function calls.

Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
---
 support/scripts/mkusers | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/support/scripts/mkusers b/support/scripts/mkusers
index 19aa085..3b287b8 100755
--- a/support/scripts/mkusers
+++ b/support/scripts/mkusers
@@ -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}"
-- 
1.8.4.2



More information about the buildroot mailing list