aboutsummaryrefslogtreecommitdiff
path: root/tools/boca-fixes
diff options
context:
space:
mode:
Diffstat (limited to 'tools/boca-fixes')
-rw-r--r--tools/boca-fixes7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/boca-fixes b/tools/boca-fixes
index af68867..c24105d 100644
--- a/tools/boca-fixes
+++ b/tools/boca-fixes
@@ -32,7 +32,12 @@ if [ -f $tmpfile ]; then
chmod 700 $tmpfile
echo "$(date) - running update"
/bin/bash $tmpfile
- [ "$?" == "0" ] && echo "$(date) - running ok"
+ res=$?
+ [ "$res" == "0" ] && echo "$(date) - running ok"
+ if [ "$res" == "1" ]; then
+ echo "$(date) - nothing done"
+ rm $tmpfile
+ fi
else
rm $tmpfile
echo "$(date) - no update"