From 19dc059a0f67699116d83305ce8f0320ef0fe613 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 22 Dec 2023 17:13:02 +0100 Subject: [PATCH] coding style: use '[' instead of 'test' --- grml-debootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.1.4