Skip to content

Commit

Permalink
fix: Prevent set -e from exiting on detect_mysql_state non-zero returns
Browse files Browse the repository at this point in the history
  • Loading branch information
pcfreak30 committed Dec 30, 2024
1 parent de58062 commit 76dac6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/standalone-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ensure_state_dirs() {
ensure_state_dirs

# Check if recovery is needed
detect_mysql_state
detect_mysql_state || true # Prevent set -e from triggering
state_code=$?

case $state_code in
Expand Down

0 comments on commit 76dac6b

Please sign in to comment.