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