From: raph Date: Tue, 21 Nov 2023 09:57:03 +0000 (+0000) Subject: Fix interactive prompt issue with spool directory option X-Git-Tag: RELEASE_1_4_0rc3~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11%2Fhead;p=thirdparty%2Fmlmmj.git Fix interactive prompt issue with spool directory option --- diff --git a/src/mlmmj-make-ml.in b/src/mlmmj-make-ml.in index f74699a8..b6c707ca 100755 --- a/src/mlmmj-make-ml.in +++ b/src/mlmmj-make-ml.in @@ -74,7 +74,7 @@ if [ -r "$ANSWERFILEIN" ]; then . "$ANSWERFILEIN" fi -if [ ! -d "$SPOOLDIR" ]; then +if [ -z "$SPOOLDIR" ]; then SPOOLDIRDEF=/var/spool/mlmmj printf 'mlmmj spool directory under which to create new mailing list [%s] : ' "$SPOOLDIRDEF" read -r SPOOLDIR