From d36ecd1f32789c9317e7af52b2136abf1fc4694d Mon Sep 17 00:00:00 2001 From: deajan Date: Wed, 9 Nov 2016 17:31:31 +0100 Subject: [PATCH] Fixed alert log filenames per instance --- dev/ofunctions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index c2e6309..5272191 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -1,6 +1,6 @@ #### MINIMAL-FUNCTION-SET BEGIN #### -## FUNC_BUILD=2016102314 +## FUNC_BUILD=2016110901 ## 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.last.log" +ALERT_LOG_FILE="$RUN_DIR/$PROGRAM.$INSTANCE_ID.last.log" # Set error exit code if a piped command fails set -o pipefail