From 5f0a9eb10ee55181179dbb54985c9559e5390ba9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 29 Apr 2025 15:22:37 +0000 Subject: [PATCH] core194: Fix missing whitespace and quote filenames Signed-off-by: Michael Tremer --- config/rootfiles/core/194/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rootfiles/core/194/update.sh b/config/rootfiles/core/194/update.sh index 2ab4ca2a2..b758c7bf6 100644 --- a/config/rootfiles/core/194/update.sh +++ b/config/rootfiles/core/194/update.sh @@ -104,7 +104,7 @@ ldconfig /usr/local/bin/filesystem-cleanup # Increment ipsec serial file if x509 certificates present and no content in index.txt -if [ -e /var/ipfire/certs/hostcert.pm ] && [ -z /var/ipfire/certs/index.txt]; then +if [ -e "/var/ipfire/certs/hostcert.pm" ] && [ -z "/var/ipfire/certs/index.txt" ]; then sed -i "s/01/02/" /var/ipfire/certs/serial fi -- 2.39.5