summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fb.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/fb.in b/fb.in
index d49fc22..7d3067b 100644
--- a/fb.in
+++ b/fb.in
@@ -168,6 +168,10 @@ if [ "$DELETE" ] || [ "$GET" ]; then
fi
done
elif [ $# -eq 0 ]; then
+ if [ "$TAR" ]; then
+ echo "Error: -t is not supported when operating on stdin" >&2
+ exit 1
+ fi
read_stdin "$TMPDIR/stdin"
do_upload "$TMPDIR/stdin"
else