diff options
| -rw-r--r-- | tools/boca-fixes | 7 |
1 files 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 |