about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@voidlinux.eu>2016-04-29 09:23:38 +0200
committerJuan RP <xtraeme@voidlinux.eu>2016-04-29 09:23:38 +0200
commit9d66fae1c047857cad2cbf45dcf41f07fcc44ef0 (patch)
treec561f3ee13cce87b7f8bd1db41c803f1abe16b8a
parent3debfb21deb9d5e091cacc55d8d523cc932efd40 (diff)
downloadhrmpf-9d66fae1c047857cad2cbf45dcf41f07fcc44ef0.tar.gz
hrmpf-9d66fae1c047857cad2cbf45dcf41f07fcc44ef0.tar.xz
hrmpf-9d66fae1c047857cad2cbf45dcf41f07fcc44ef0.zip
mkrootfs: ignore rmdir error output.
-rw-r--r--mkrootfs.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkrootfs.sh.in b/mkrootfs.sh.in
index f4e06a1..096d6e8 100644
--- a/mkrootfs.sh.in
+++ b/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