From cd25de5628c6a14b52a332f455302c02df6be2e0 Mon Sep 17 00:00:00 2001 From: Christoph Date: Thu, 11 Jan 2018 17:04:28 +0100 Subject: [PATCH] - Fix error in detecting apach2 start method. --- check_webservice_load.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_webservice_load.sh b/check_webservice_load.sh index d67c81e..8e7c87d 100755 --- a/check_webservice_load.sh +++ b/check_webservice_load.sh @@ -252,7 +252,7 @@ if $check_apache ; then fi fi - if [[ -z "$APACHE_INIT_SCRIPT" ]] && [[ -z "$APACHE_SERVICE_FILE" ; then + if [[ -z "$APACHE_INIT_SCRIPT" ]] && [[ -z "$APACHE_SERVICE_FILE" ]] ; then fatal 'Neither an init-script nor a service file for apache2 found!' fi fi