From 9c916468bf92f9a7031ef6235701476074c041ac Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 16 Mar 2021 23:09:35 +0100 Subject: [PATCH] small fixes --- main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 956e1a5..0f563b5 100755 --- a/main.sh +++ b/main.sh @@ -39,7 +39,7 @@ cp -rf "${functions}" "${dest}"/tmp/installer cp -rf ./run_in_chroot.sh "${dest}"/tmp/installer for i in $(seq 1 "${users[amount]}"); do - pw+=( "${i}" ) + pw+=( "${users[pw$i]}" ) done chroot "${dest}" "/tmp/installer/run_in_chroot.sh" "${cfg[diskpw]}" "${pw[@]}"