]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
Fix interactive prompt issue with spool directory option 11/head
authorraph <raph@noreply.codeberg.org>
Tue, 21 Nov 2023 09:57:03 +0000 (09:57 +0000)
committerraph <raph@noreply.codeberg.org>
Tue, 21 Nov 2023 09:57:03 +0000 (09:57 +0000)
src/mlmmj-make-ml.in

index f74699a8937337bb1cd1078c643884ce35d4ed22..b6c707ca9bc23d60fe73e28eee3fbbcc2ea41a58 100755 (executable)
@@ -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