Преглед изворни кода

mkrootfs: ignore rmdir error output.

Juan RP пре 9 година
родитељ
комит
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