]> granicus.if.org Git - icinga2/commitdiff
Fix typo in prepare-dirs
authorJean Flach <jean-marcel.flach@icinga.com>
Fri, 23 Feb 2018 12:25:59 +0000 (13:25 +0100)
committerJean Flach <jean-marcel.flach@icinga.com>
Fri, 23 Feb 2018 13:44:07 +0000 (14:44 +0100)
refs #5850

etc/initsystem/prepare-dirs

index 44b8343a8077c593d526ab41f4880db75da80032..74bb85a5be167e13a24f87ee015e597e78f00857 100644 (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"