diff --git a/.local/bin/chroot-gen b/.local/bin/chroot-gen index 0b6b653..de8b8a1 100755 --- a/.local/bin/chroot-gen +++ b/.local/bin/chroot-gen @@ -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