install_httpd-2.4.sh: Fix error in detecting whether OS supports systemd services.

This commit is contained in:
Christoph 2017-12-30 22:08:03 +01:00
parent 79404a83ad
commit 87506fe9df

View File

@ -103,7 +103,7 @@ _BASE_WEBSPACE_DIR="/var/www"
# - systemd supported by OS ? # - systemd supported by OS ?
# - # -
_systemd="$(which systemctl)" _systemd="$(which systemd)"
_systemctl="$(which systemctl)" _systemctl="$(which systemctl)"
if [[ -z "$_systemd" ]] && [[ -z "$_systemctl" ]]; then if [[ -z "$_systemd" ]] && [[ -z "$_systemctl" ]]; then
SYSTEMD_SUPPORTED=false SYSTEMD_SUPPORTED=false