diff options
| author | cassio <cassiopc@gmail.com> | 2018-10-23 11:50:13 +0000 |
|---|---|---|
| committer | cassio <cassiopc@gmail.com> | 2018-10-23 11:50:13 +0000 |
| commit | b22599392fed08b5e86af140a4508a8892058088 (patch) | |
| tree | e95cd078978430f5bc1f4540143b048d14ae11b7 /tools/boca-auth-runs | |
| parent | a696577f0a685ea68c05748efe509f64ecd0bb60 (diff) | |
| download | boca-b22599392fed08b5e86af140a4508a8892058088.tar.gz boca-b22599392fed08b5e86af140a4508a8892058088.zip | |
remove unnecessary file
Diffstat (limited to 'tools/boca-auth-runs')
| -rwxr-xr-x | tools/boca-auth-runs | 5 |
1 files changed, 3 insertions, 2 deletions
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 |