summaryrefslogtreecommitdiffstats
path: root/fb.in
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-11-19 14:24:12 +0100
committerFlorian Pritz <bluewind@xinu.at>2014-11-19 14:24:12 +0100
commite37d83f3212e0eaf50f20fbb975b02cfb2f332e3 (patch)
treed4ce33e0159db4ec83edce7902384925bb6ff97e /fb.in
parent0a8145685d8d13da0c12e61b034a2323a22f46e2 (diff)
Remove tempfile in do_uploadv1.4.1
This would upload the data.* files if one runs `fb -m $url1 $url2` Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.in')
-rw-r--r--fb.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/fb.in b/fb.in
index 930ce1c..0aac2fb 100644
--- a/fb.in
+++ b/fb.in
@@ -223,6 +223,7 @@ do_upload() {
sed '$d' $tmpfile >&2
url=`tail -1 $tmpfile`"$extension"
+ rm "$tmpfile"
printf "%s\n" "$url"
if printf "%s" "$url" | grep -qE "^https?://"; then
if [ -z "$clipboard" ]; then