From 5f92cb3708ae77f6397580d8d58b902dc2ce6018 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 12 Mar 2023 12:52:31 -0300 Subject: queue.scm: Ensure state-dir exists before generating dhparam file --- src/xyz/euandreh/queue.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xyz/euandreh/queue.scm b/src/xyz/euandreh/queue.scm index cf2bdac..c354555 100644 --- a/src/xyz/euandreh/queue.scm +++ b/src/xyz/euandreh/queue.scm @@ -1314,6 +1314,7 @@ namespace inbox { "Creating Dovecot base_dir directory: \"~a\".~%" #$base-dir) (mkdir-p #$base-dir) (let ((dhparam.pem (string-append #$state-dir "/dhparam.pem"))) + (mkdir-p #$state-dir) (unless (file-exists? dhparam.pem) (format (current-error-port) "dhparam.pem file doesn't exist yet. Generating one...~%") -- cgit v1.2.3