Fix typo in prepare-dirs

refs #5850
This commit is contained in:
Jean Flach 2018-02-23 13:25:59 +01:00
parent 3970662bf4
commit 360d109211
1 changed files with 1 additions and 1 deletions

View File

@ -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"