From c0ed83f955cb851f67938719bdcaa809f165b86a Mon Sep 17 00:00:00 2001 From: cassio Date: Wed, 29 Aug 2018 15:48:35 +0200 Subject: show date --- tools/boca-fixes | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/boca-fixes b/tools/boca-fixes index 277542b..b6d6bb4 100644 --- a/tools/boca-fixes +++ b/tools/boca-fixes @@ -30,10 +30,11 @@ if [ -f $tmpfile ]; then grep -q boca-updates $tmpfile if [ "$?" == "0" ]; then chmod 700 $tmpfile - echo "Running BOCA update" - . $tmpfile + echo "$(date) - running update" + /bin/bash $tmpfile + [ "$?" == "0" ] && echo "$(date) - running ok" else rm $tmpfile - echo "no BOCA update" + echo "$(date) - no update" fi fi -- cgit v1.2.3