From: Patrick Schleizer Date: Thu, 7 Dec 2023 18:51:43 +0000 (-0500) Subject: don't suppress stderr of rmdir "$MNTPOINT" X-Git-Tag: v0.106~7^2~19 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=792af79ed413a5f4230fd2c9193db1d5bcec9410;hp=d2be7fb21bfd1c28199ddc1959dfd3e15149acc8;p=grml-debootstrap.git don't suppress stderr of rmdir "$MNTPOINT" --- diff --git a/grml-debootstrap b/grml-debootstrap index 08e6fe2..f956978 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -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