summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2016-01-06 23:04:18 +0100
committerPeter Palfrader <peter@palfrader.org>2016-01-06 23:04:18 +0100
commitdc6d6030549c26becc6506f3ed7903b2168ba93c (patch)
tree1d57931a222a4625c8a58dc1cecd57057d4f8572
parent42354e9abfc5c3807543b01221536c083a0f66e6 (diff)
Revert "Add pipefail option"
This reverts commit 42354e9abfc5c3807543b01221536c083a0f66e6. This breaks stuff for now. E.g.: | + [[ -f /home/archvsync/archvsync/log/rsync-ftpsync-security.log ]] | +++ egrep '[[0-9.,]]+ bytes/sec' /home/archvsync/archvsync/log/rsync-ftpsync-security.log | +++ tail -n 1 | ++++ cleanup Needs more careful testing.
-rwxr-xr-xbin/ftpsync5
1 files changed, 0 insertions, 5 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 6b02cbf..b230823 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -8,11 +8,6 @@ set -u
# the important part here)
set -E
-# A pipeline's return status is the value of the last (rightmost)
-# command to exit with a non-zero status, or zero if all commands exit
-# success‐ fully.
-set -o pipefail
-
# ftpsync script for Debian
# Based losely on a number of existing scripts, written by an
# unknown number of different people over the years.