From 29d168ae28fd909c78c6b458a2905d705a36ddbc Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 19 Mar 2015 23:14:45 +0100 Subject: run: simulate pipefail --- run | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run b/run index 7461f39ba..073111f1d 100755 --- a/run +++ b/run @@ -17,7 +17,9 @@ deploy() {( main=$1 target=$2 - rsync_filter "$main" \ + filter=$(rsync_filter "$main") + + echo "$filter" \ | rsync -f '. -' -zvrlptD --delete-excluded ./ "$target":/etc/nixos/ ssh "$target" nixos-rebuild switch -I nixos-config=/etc/nixos/"$main" -- cgit v1.2.3