summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2014-12-11 18:26:29 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2014-12-11 18:26:29 -0400
commitfa360a3d840740f9dd0d1e9fe3f4a46ff65308ab (patch)
tree06d0df587ddccd1454cbfc0b98f883dad1fa2ca2 /doc
parent9566e1e5d88faa3b6f68ca5a097671158adbfbd8 (diff)
move error message to return value
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/special_remotes/external/git-annex-remote-torrent3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/special_remotes/external/git-annex-remote-torrent b/doc/special_remotes/external/git-annex-remote-torrent
index 4f5e62a90..a74885729 100755
--- a/doc/special_remotes/external/git-annex-remote-torrent
+++ b/doc/special_remotes/external/git-annex-remote-torrent
@@ -140,8 +140,7 @@ while read line; do
file="$4"
case "$2" in
STORE)
- runcmd echo "upload not supported"
- echo TRANSFER-FAILURE STORE "$key"
+ echo TRANSFER-FAILURE STORE "$key" "upload not supported"
;;
RETRIEVE)
urltmp=$(mktemp)