From 56a894e888002f44f3463b3188f9d5abdcca4bb0 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Tue, 2 Jul 2024 10:33:29 +0200 Subject: [PATCH] test: fix TEST-24-CRYPTSETUP on SUSE /etc/systemd/journald.conf.d drop-in dir already exists on SUSE. --- test/TEST-24-CRYPTSETUP/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/TEST-24-CRYPTSETUP/test.sh b/test/TEST-24-CRYPTSETUP/test.sh index a7e118c4f0..a275cca302 100755 --- a/test/TEST-24-CRYPTSETUP/test.sh +++ b/test/TEST-24-CRYPTSETUP/test.sh @@ -198,7 +198,7 @@ EOF # Forward journal messages to the console, so we have something to investigate even if we fail to mount # the encrypted /var - mkdir "$initdir/etc/systemd/journald.conf.d/" + mkdir -p "$initdir/etc/systemd/journald.conf.d/" echo -ne "[Journal]\nForwardToConsole=yes\n" >"$initdir/etc/systemd/journald.conf.d/99-forward.conf" # If $INITRD wasn't provided explicitly, generate a custom one with dm-crypt -- 2.25.1