Update archbox

This commit is contained in:
Lemniskett 2020-10-23 19:16:23 +07:00 committed by GitHub
parent ee72ae5a8c
commit 1239eea289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,4 +6,4 @@ USER=$(whoami)
doas cp /etc/resolv.conf $CHROOT/etc/resolv.conf doas cp /etc/resolv.conf $CHROOT/etc/resolv.conf
[[ -z $@ ]] && doas chroot $CHROOT /bin/su $USER \ [[ -z $@ ]] && doas chroot $CHROOT /bin/su $USER \
|| doas chroot $CHROOT su -c "$COMMAND" $USER || doas chroot $CHROOT /bin/su -c "$COMMAND" $USER