From b22599392fed08b5e86af140a4508a8892058088 Mon Sep 17 00:00:00 2001 From: cassio Date: Tue, 23 Oct 2018 13:50:13 +0200 Subject: remove unnecessary file --- tools/boca-auth-runs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/boca-auth-runs b/tools/boca-auth-runs index 82db1d2..6b53d9f 100755 --- a/tools/boca-auth-runs +++ b/tools/boca-auth-runs @@ -59,8 +59,8 @@ if [ "$?" == "0" ]; then if [ $? == 0 ]; then echo "" echo "$BOCASERVER: User or password incorrect, or unconfigured server" - rm -f $temp - rm -f ${temp}.cookie.txt + rm -f "$temp" + rm -f "${temp}.cookie.txt" exit 3 else a="" @@ -94,6 +94,7 @@ if [ "$?" == "0" ]; then else echo "" echo "$BOCASERVER: downloaded content is corrupted" + [ -f "$temp" ] && rm -f "$temp" rm -f "${temp}.cookie.txt" exit 4 fi -- cgit v1.2.3