Skip to content

fix: remove bash syntax error in socat nohup fallback#63

Merged
abrichr merged 1 commit into
mainfrom
fix/socat-nohup-syntax
Mar 2, 2026
Merged

fix: remove bash syntax error in socat nohup fallback#63
abrichr merged 1 commit into
mainfrom
fix/socat-nohup-syntax

Conversation

@abrichr
Copy link
Copy Markdown
Member

@abrichr abrichr commented Mar 2, 2026

Summary

  • &; is a bash syntax error — & already terminates the command, so the trailing ; causes a parse error
  • This broke the socat nohup fallback path on older VMs that don't have the socat-waa-evaluate systemd service
  • Fixed in both run_dc_eval.py and record_waa_demos.py

Context

The bug was introduced when the systemd-first pattern was added (PR #62 for record_waa_demos.py, and earlier for run_dc_eval.py). The if/else block works fine on the systemd path; only the nohup fallback was broken.

Test plan

  • Deploy to a VM without the systemd service and verify socat starts via nohup

🤖 Generated with Claude Code

`&;` is a syntax error in bash — `&` already acts as a command
terminator, so the trailing `;` causes a parse error. This broke
the socat nohup fallback on VMs without the systemd service.

Affects both run_dc_eval.py and record_waa_demos.py.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@abrichr abrichr merged commit 1ae7540 into main Mar 2, 2026
1 check passed
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.

1 participant