Эх сурвалжийг харах

mkrootfs: ignore rmdir error output.

Juan RP 9 жил өмнө
parent
commit
9d66fae1c0
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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