summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/libs/lib-misc.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/libs/lib-misc.sh b/src/core/libs/lib-misc.sh
index 238d9b6..f421af3 100644
--- a/src/core/libs/lib-misc.sh
+++ b/src/core/libs/lib-misc.sh
@@ -16,7 +16,8 @@ run_background ()
( \
touch /home/arch/fifa/runtime/$1-running
debug "run_background starting $1: $2 >>$3 2>&1"
- echo "$1 progress ..." > $3; \
+ [ -f $3 ] && echo -e "\n\n\n" >>$3
+ echo "STARTING $1 . Executing $2 >>$3 2>&1" >> $3; \
echo >> $3; \
eval "$2" >>$3 2>&1
var_exit=${1}_exitcode