From c72972b0ec2079cb4df3ad691eb9310afcba61f9 Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 15 Dec 2025 18:37:05 +0100 Subject: [PATCH] Fis error in determin if systemd support is present in case of debian 13 and newer. --- install_dehydrated.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install_dehydrated.sh b/install_dehydrated.sh index 0f0c415..b3c6c4b 100755 --- a/install_dehydrated.sh +++ b/install_dehydrated.sh @@ -1610,10 +1610,10 @@ done # -Is systemd supported on this system? # - systemd_supported=false -systemd=\$(which systemd) -systemctl=\$(which systemctl) +systemd=$(which systemd) +systemctl=$(which systemctl) -if [[ -n "\$systemd" ]] && [[ -n "\$systemctl" ]] ; then +if [[ -n "$systemd" ]] || [[ -n "$systemctl" ]] ; then systemd_supported=true fi