]> Pileus Git - vpaste/blobdiff - vpaste
(no commit message)
[vpaste] / vpaste
diff --git a/vpaste b/vpaste
index 0e873237d87a21039c6a9c357caeba52b5c50180..a24d02c49794bf4c65ffde6cba323cf602e9d3e5 100755 (executable)
--- a/vpaste
+++ b/vpaste
@@ -1,9 +1,9 @@
 #!/bin/bash
 uri="http://andy753421.ath.cx/vpaste/"
 if [ -f "$1" ]; then
-       out=$(curl -F "x=<$1" "$uri?$2")
+       out=$(curl -s -F "x=<$1" "$uri?$2")
 else
-       out=$(curl -F 'x=<-' "$uri?$1")
+       out=$(curl -s -F 'x=<-' "$uri?$1")
 fi
 echo "$out"
 if [ -x "`which xclip 2>/dev/null`" -a "$DISPLAY" ]; then