From 07b45ba27210fafbd7c936ed57d1be0ce45d4f3e Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 15 Dec 2025 18:35:43 +0100 Subject: [PATCH] Fis error in determin if systemd support is present in case of debian 13 and newer. --- create_opendkim_key.sh | 2 +- delete_opendkim_configuration.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/create_opendkim_key.sh b/create_opendkim_key.sh index 630c4fd..9270986 100755 --- a/create_opendkim_key.sh +++ b/create_opendkim_key.sh @@ -341,7 +341,7 @@ systemd_supported=false systemd=$(which systemd) systemctl=$(which systemctl) -if [[ -n "$systemd" ]] && [[ -n "$systemctl" ]] ; then +if [[ -n "$systemd" ]] || [[ -n "$systemctl" ]] ; then systemd_supported=true fi diff --git a/delete_opendkim_configuration.sh b/delete_opendkim_configuration.sh index 9d8664a..097337f 100755 --- a/delete_opendkim_configuration.sh +++ b/delete_opendkim_configuration.sh @@ -271,7 +271,7 @@ systemd_supported=false systemd=$(which systemd) systemctl=$(which systemctl) -if [[ -n "$systemd" ]] && [[ -n "$systemctl" ]] ; then +if [[ -n "$systemd" ]] || [[ -n "$systemctl" ]] ; then systemd_supported=true fi