remove error when etc exsits
This commit is contained in:
parent
889c84819c
commit
47bed9ba2f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user