summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Ørsted Andresen <bo.andresen@zlin.dk>2007-11-13 15:47:39 +0000
committerBo Ørsted Andresen <bo.andresen@zlin.dk>2007-11-13 15:47:39 +0000
commitca6a779fc975ca037f6081e9a6131eae13ffe3ac (patch)
tree2198fe3bc3be74021333b6b768f75fa9018ed83c
parent2d73a98d6298e3a14d89769e7c4ed5cd69d64e96 (diff)
downloadwgetpaste-ca6a779fc975ca037f6081e9a6131eae13ffe3ac.tar.gz
Fix size warnings that contain spaces.
-rwxr-xr-xwgetpaste2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgetpaste b/wgetpaste
index db6dd84..849fe12 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -198,7 +198,7 @@ verifyurl() {
warnings() {
warn() {
if [[ -n $2 && $1 -gt $2 ]]; then
- echo "Pasting > $3 often tend to fail with $SERVICE. Use --verbose or --debug to see the"
+ echo "Pasting > ${3//\%/ } often tend to fail with $SERVICE. Use --verbose or --debug to see the"
echo "error output from wget if it fails. Alternatively use another pastebin service."
fi
}