mkrootfs: ignore rmdir error output.

This commit is contained in:
Juan RP 2016-04-29 09:23:38 +02:00
parent 3debfb21de
commit 9d66fae1c0

View File

@ -227,7 +227,7 @@ if [ -n "${_ARCH}" ]; then
register_binfmt register_binfmt
run_cmd "xbps-reconfigure -r $rootfs base-files" run_cmd "xbps-reconfigure -r $rootfs base-files"
run_cmd "chroot $rootfs env -i xbps-reconfigure -f base-files" run_cmd "chroot $rootfs env -i xbps-reconfigure -f base-files"
rmdir $rootfs/usr/lib32 rmdir $rootfs/usr/lib32 2>/dev/null
rm -f $rootfs/lib32 $rootfs/lib64 $rootfs/usr/lib64 rm -f $rootfs/lib32 $rootfs/lib64 $rootfs/usr/lib64
;; ;;
esac esac