X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml-debootstrap;h=bac28b08017aa9d78ec657006fb09c48b5abf1c8;hb=cc96e883fa7ca0870b2428cda94aa0054dc02642;hp=29ae03f7648cdf778ebd6cef1dfb07712666372a;hpb=d39c8dfd5a06ae1ce0edb31600e8ed7da2ac02dd;p=grml-debootstrap.git diff --git a/grml-debootstrap b/grml-debootstrap index 29ae03f..bac28b0 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" + rmdir "$MNTPOINT" || true fi fi