diff --git a/push b/push index 1ee3322..4583861 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[*]}" +ssh -A "$remote" "cd '$tmp' && ./run $vflag ${targets[*]} && cd -; rm -rf '$tmp'"