Skip to content

Conversation

eldering
Copy link
Member

  • Don't use sudo: we assume we can access the DB (like in other commands), the user can call this with sudo if necessary.
  • Fetch DB name from config instead of hardcoded domjudge.
  • Don't exit within case unless with non-zero status.

- Don't use sudo: we assume we can access the DB (like in other
  commands), the user can call this with sudo if necessary.
- Fetch DB name from config instead of hardcoded `domjudge`.
- Don't exit within case unless with non-zero status.
@eldering eldering requested a review from vmcj November 22, 2024 13:46
@eldering eldering enabled auto-merge November 22, 2024 13:54
@eldering eldering added this pull request to the merge queue Nov 22, 2024
Merged via the queue into main with commit 4aacc80 Nov 22, 2024
33 checks passed
@eldering eldering deleted the sql-setup-fixes branch November 22, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants