From: Francois Fleuret Date: Tue, 3 Oct 2017 13:12:50 +0000 (+0200) Subject: Removed -o pipefail. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=db75828ad9cc6638d122009c81be2cb0ee65d2da;p=xremote.git Removed -o pipefail. --- diff --git a/xremote.sh b/xremote.sh index 2952bd2..ce16636 100755 --- a/xremote.sh +++ b/xremote.sh @@ -18,7 +18,8 @@ ######################################################################### set -e -set -o pipefail + +# set -o pipefail ###################################################################### @@ -103,13 +104,14 @@ do PRE) check_remote_is_defined + echo "xremote: ${value}" ssh < /dev/null "${REMOTE_HOST}" "cd \"${REMOTE_DIR}\" && ${value}" ;; SEND) check_remote_is_defined echo "xremote: -- sending files --------------------------------------------" - tar c ${value} | ssh "${REMOTE_HOST}" "cd \"${REMOTE_DIR}\" && tar mxv" + tar ch ${value} | ssh "${REMOTE_HOST}" "cd \"${REMOTE_DIR}\" && tar mxv" ;; HOST)