Corretto problema di inizializzazione variabile LOG_OUTPUT_DRV_FILE

This commit is contained in:
lejubila
2017-12-13 15:43:06 +01:00
parent 22ec16cc9d
commit 38ecd92d7a
2 changed files with 4 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
# 0.5.4 - 13/11/2017
- Fix bad initialization LOG_OUTPUT_DRV_FILE variable if not defined in config file
# 0.5.3 - 19/11/2017 # 0.5.3 - 19/11/2017
- Fix send parameter on event init_before and init_after - Fix send parameter on event init_before and init_after
- Added WEATHER argument in check_rain_sensor_after and check_rain_sensor_change event - Added WEATHER argument in check_rain_sensor_after and check_rain_sensor_change event

View File

@@ -824,7 +824,7 @@ LAST_WARNING_FILE="$STATUS_DIR/last_warning"
LAST_SUCCESS_FILE="$STATUS_DIR/last_success" LAST_SUCCESS_FILE="$STATUS_DIR/last_success"
if [ -z $LOG_OUTPUT_DRV_FILE ]; then if [ -z $LOG_OUTPUT_DRV_FILE ]; then
$LOG_OUTPUT_DRV_FILE="/dev/null" LOG_OUTPUT_DRV_FILE="/dev/null"
fi fi
if [ -z "$EVENT_DIR" ]; then if [ -z "$EVENT_DIR" ]; then