diff options
author | tv <tv@shackspace.de> | 2015-03-19 23:14:45 +0100 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-05-19 23:12:12 +0200 |
commit | 29d168ae28fd909c78c6b458a2905d705a36ddbc (patch) | |
tree | 4780d25b1e560b9596b172713590f61d7e131db4 /run | |
parent | 4442053d0e41838af0670f38e86e1bd7aa426e3a (diff) |
run: simulate pipefail
Diffstat (limited to 'run')
-rwxr-xr-x | run | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" |