diff --git a/install_dehydrated.sh b/install_dehydrated.sh index b3c6c4b..65f3d70 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