From 7f6f69ed26ca09760038d4b97e234f35a1a54155 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Tue, 26 Jun 2018 15:07:22 +0200 Subject: [PATCH] Suppress extraneous cd output --- push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/push b/push index c5d5ebb..5075b95 100755 --- a/push +++ b/push @@ -42,4 +42,4 @@ if scp -q -r "${APPLY_ROOT}"/{groups,units} run lib "$remote":"$tmp"; then fi # shellcheck disable=SC2029 -ssh -A "$remote" "cd '$tmp' && ./run $vflag ${targets[*]} && cd -; rm -rf '$tmp'" +ssh -A "$remote" "cd '$tmp' && ./run $vflag ${targets[*]} && cd; rm -rf '$tmp'"