remove error when etc exsits

This commit is contained in:
Oliver 2023-12-14 08:45:58 +00:00
parent 889c84819c
commit 47bed9ba2f

View File

@ -22,7 +22,7 @@ for cmd in "${CMDS[@]}"; do
done
# cp user and group into chroot
mkdir $CHROOT/etc
mkdir -p $CHROOT/etc
cat /etc/passwd | grep $USER > $CHROOT/etc/passwd
cat /etc/group | grep $USER > $CHROOT/etc/group