diff options
author | Joey Hess <joeyh@joeyh.name> | 2014-12-11 18:26:29 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2014-12-11 18:26:29 -0400 |
commit | fa360a3d840740f9dd0d1e9fe3f4a46ff65308ab (patch) | |
tree | 06d0df587ddccd1454cbfc0b98f883dad1fa2ca2 /doc | |
parent | 9566e1e5d88faa3b6f68ca5a097671158adbfbd8 (diff) |
move error message to return value
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/special_remotes/external/git-annex-remote-torrent | 3 |
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) |