Fixed alert log name when instance isn't kwnown yet

This commit is contained in:
deajan 2016-11-10 15:54:59 +01:00
parent b461b5bc95
commit 51fb8b8bac
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#### MINIMAL-FUNCTION-SET BEGIN ####
## FUNC_BUILD=2016110901
## FUNC_BUILD=2016111001
## BEGIN Generic bash functions written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
## To use in a program, define the following variables:
@ -85,7 +85,7 @@ fi
# Default alert attachment filename
ALERT_LOG_FILE="$RUN_DIR/$PROGRAM.$INSTANCE_ID.last.log"
ALERT_LOG_FILE="$RUN_DIR/$PROGRAM.$SCRIPT_PID.last.log"
# Set error exit code if a piped command fails
set -o pipefail