From: Jean Flach Date: Fri, 23 Feb 2018 12:25:59 +0000 (+0100) Subject: Fix typo in prepare-dirs X-Git-Tag: v2.9.0~152^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7ec97abd897e474f243a3ea743f6587f3292cc2;p=icinga2 Fix typo in prepare-dirs refs #5850 --- diff --git a/etc/initsystem/prepare-dirs b/etc/initsystem/prepare-dirs index 44b8343a8..74bb85a5b 100644 --- a/etc/initsystem/prepare-dirs +++ b/etc/initsystem/prepare-dirs @@ -37,7 +37,7 @@ fi # Could be undefined in installations where sysconf is not overridden on upgrade if [ -z "$ICINGA2_LOG_DIR" ]; then - $ICINGA2_LOG_DIR=$(dirname -- "$ICINGA2_LOG") + ICINGA2_LOG_DIR=$(dirname -- "$ICINGA2_LOG") fi test -e "$ICINGA2_LOG_DIR" || install -m 750 -o $ICINGA2_USER -g $ICINGA2_COMMAND_GROUP -d "$ICINGA2_LOG_DIR"