We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c5dcab commit 4f86431Copy full SHA for 4f86431
1 file changed
ralph/ralph_loop.sh
@@ -958,8 +958,9 @@ EOF
958
done
959
960
# Wait for the process to finish and get exit code
961
- wait $claude_pid
962
- local exit_code=$?
+ # Use || to prevent set -e from killing the script on non-zero (e.g. timeout 124)
+ local exit_code=0
963
+ wait $claude_pid || exit_code=$?
964
965
if [ $exit_code -eq 0 ]; then
966
# Only increment counter on successful execution
0 commit comments