From db75828ad9cc6638d122009c81be2cb0ee65d2da Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Tue, 3 Oct 2017 15:12:50 +0200 Subject: [PATCH] Removed -o pipefail. --- xremote.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 2.39.5