mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 20:54:35 +02:00
Merge pull request #6114 from Icinga/whycantipushintomasteragain
Fix typo in prepare-dirs
This commit is contained in:
commit
ec24554336
@ -37,7 +37,7 @@ fi
|
|||||||
|
|
||||||
# Could be undefined in installations where sysconf is not overridden on upgrade
|
# Could be undefined in installations where sysconf is not overridden on upgrade
|
||||||
if [ -z "$ICINGA2_LOG_DIR" ]; then
|
if [ -z "$ICINGA2_LOG_DIR" ]; then
|
||||||
$ICINGA2_LOG_DIR=$(dirname -- "$ICINGA2_LOG")
|
ICINGA2_LOG_DIR=$(dirname -- "$ICINGA2_LOG")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test -e "$ICINGA2_LOG_DIR" || install -m 750 -o $ICINGA2_USER -g $ICINGA2_COMMAND_GROUP -d "$ICINGA2_LOG_DIR"
|
test -e "$ICINGA2_LOG_DIR" || install -m 750 -o $ICINGA2_USER -g $ICINGA2_COMMAND_GROUP -d "$ICINGA2_LOG_DIR"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user