summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Ørsted Andresen <bo.andresen@zlin.dk>2007-03-06 03:26:23 +0000
committerBo Ørsted Andresen <bo.andresen@zlin.dk>2007-03-06 03:26:23 +0000
commitcfb0cae7094e402446dcadd5ca211fa0c382aa1d (patch)
tree0622d134b51d1f336ac40eeabbcd43659b324349
parentca625559aaa8621b364e71cbfae071571a73539d (diff)
downloadwgetpaste-cfb0cae7094e402446dcadd5ca211fa0c382aa1d.tar.gz
--command should paste what goes to stderr too.
-rwxr-xr-xwgetpaste2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgetpaste b/wgetpaste
index 6e8cbfc..1a6a0ea 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -546,7 +546,7 @@ elif [[ ${COMMAND} ]]; then
else
PS1="$"
fi
- INPUT="$(escape "${PS1} ${SOURCE}"$'\n'"$(${SOURCE})")"
+ INPUT="$(escape "${PS1} ${SOURCE}"$'\n'"$(${SOURCE} 2>&1)")"
else
INPUT="$(escape "$( < "${SOURCE}" )")"
fi