mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 22:13:34 +08:00
support: fix typo in mkusers
This fixes the spurious "[: too many arguments" errors from mkusers. Signed-off-by: Philip Paeps <philip@paeps.cx> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
7ae9ed8163
commit
b083c0ba4b
@ -63,7 +63,7 @@ get_uid() {
|
||||
get_ugid() {
|
||||
local username="${1}"
|
||||
|
||||
awk -F:i -v username="${username}" \
|
||||
awk -F: -v username="${username}" \
|
||||
'$1 == username { printf( "%d\n", $4 ); }' "${PASSWD}"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user