Commit 1c9d80f
committed
fix: ensure logs directory exists before creating safe mode flag
The run_safe_mode.sh script was failing when trying to create the safe mode
flag file because the logs/ directory didn't exist. With 'set -euo pipefail',
this caused the entire script to exit before safe mode could be activated.
Added 'mkdir -p logs' before 'touch logs/safe_mode.flag' to ensure the
directory exists, preventing script failure and allowing safe mode to work.1 parent 0e8100c commit 1c9d80f
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments