X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml-debootstrap;fp=grml-debootstrap;h=d671de87aa4799f6fd61aefae508de0f5c6d56ef;hb=19dc059a0f67699116d83305ce8f0320ef0fe613;hp=879d105fb4284d2f3df7c09931285f5ade916ef4;hpb=bfe0feda5534b6bbd7069dd2ae063e28b6af8871;p=grml-debootstrap.git diff --git a/grml-debootstrap b/grml-debootstrap index 879d105..d671de8 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -299,7 +299,7 @@ cleanup() { # remove directory only if we used the default with process id inside the name if echo "$MNTPOINT" | grep -q '/mnt/debootstrap\.' ; then - if test -d "$MNTPOINT" ; then + if [ -d "$MNTPOINT" ] ; then einfo "Removing directory ${MNTPOINT}" rmdir "$MNTPOINT" || eend $? fi