Explorar o código

mkrootfs: ignore rmdir error output.

Juan RP %!s(int64=9) %!d(string=hai) anos
pai
achega
9d66fae1c0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mkrootfs.sh.in

+ 1 - 1
mkrootfs.sh.in

@@ -227,7 +227,7 @@ if [ -n "${_ARCH}" ]; then
             register_binfmt
             run_cmd "xbps-reconfigure -r $rootfs 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
             ;;
     esac