From b4a16a0313d7bb9287508e6eb1af5f3499ae842a Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Thu, 22 Nov 2018 14:54:18 +0000 Subject: [PATCH] quote shell vars --- ADDITIONS/postfixadmin-mailbox-postcreation.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ADDITIONS/postfixadmin-mailbox-postcreation.sh b/ADDITIONS/postfixadmin-mailbox-postcreation.sh index ba779b9f..472606aa 100644 --- a/ADDITIONS/postfixadmin-mailbox-postcreation.sh +++ b/ADDITIONS/postfixadmin-mailbox-postcreation.sh @@ -61,7 +61,8 @@ if [ "x${MDM}" = "x" ]; then exit 1 fi -$MDM "$maildir" +"${MDM}" "${maildir}" + if [ ! -d "$maildir" ]; then echo "$0: maildirmake didn't produce a directory; bailing out." exit 1