summaryrefslogtreecommitdiffstats
path: root/fb.in
diff options
context:
space:
mode:
Diffstat (limited to 'fb.in')
-rw-r--r--fb.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/fb.in b/fb.in
index 68adf77..ead38ef 100644
--- a/fb.in
+++ b/fb.in
@@ -199,11 +199,10 @@ else
continue
fi
for f in *; do
- if do_upload "$f"; then
- rm -f -- "$f"
- else
+ if ! do_upload "$f"; then
EXITCODE=1
fi
+ rm -f -- "$f"
done
else
do_upload "$i" || EXITCODE=1