diff --git a/bootstrap.sh b/bootstrap.sh index c659705..297e101 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -152,8 +152,8 @@ recover_project() { fi log "Recovering: ${containers[*]}" - sudo -u "${SERVICE_USER}" \ - "${UV}" run /tmp/server-infra-autocompose.py "${containers[@]}" > "${outfile}" + (cd /tmp && sudo -u "${SERVICE_USER}" \ + "${UV}" run /tmp/server-infra-autocompose.py "${containers[@]}") > "${outfile}" log " Saved to ${outfile}" }