don't suppress stderr of rmdir "$MNTPOINT"
authorPatrick Schleizer <adrelanos@whonix.org>
Thu, 7 Dec 2023 18:51:43 +0000 (13:51 -0500)
committerPatrick Schleizer <adrelanos@whonix.org>
Thu, 7 Dec 2023 18:51:43 +0000 (13:51 -0500)
grml-debootstrap

index 08e6fe2..f956978 100755 (executable)
@@ -258,7 +258,7 @@ cleanup() {
   # Remove temporary mountpoint again
   if echo "$MNTPOINT" | grep -q '/mnt/debootstrap\.' ; then
     if [ -d "$MNTPOINT" ] ; then
-      rmdir "$MNTPOINT" 2>/dev/null
+      rmdir "$MNTPOINT"
     fi
   fi