From e37d83f3212e0eaf50f20fbb975b02cfb2f332e3 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 19 Nov 2014 14:24:12 +0100 Subject: Remove tempfile in do_upload This would upload the data.* files if one runs `fb -m $url1 $url2` Signed-off-by: Florian Pritz --- fb.in | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-24-g4f1b