diff --git a/pardus-chroot b/pardus-chroot index a00568a..2e96b59 100755 --- a/pardus-chroot +++ b/pardus-chroot @@ -24,7 +24,7 @@ mount -t tmpfs tmpfs "$DESTDIR/dev/shm" if [[ -d /sys/firmware/efi/ ]] ; then mount -t efivarfs efivarfs "$DESTDIR/sys/firmware/efi/efivars" fi -cat /etc/resolv.conf > /$DESTDIR/etc/resolv.conf +cat /etc/resolv.conf > $DESTDIR/etc/resolv.conf SHELL=/bin/bash unshare --fork --pid chroot "$DESTDIR" "$@" if [[ -d /sys/firmware/efi/ ]] ; then while umount "$DESTDIR/sys/firmware/efi/efivars" 2>/dev/null ; do : ;done