You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The ISO workflow's syntax check only checks the first script: bash -n a b c ignores b and c #264
bash -n takes one script; the extra words are passed to that script as arguments. So only iso/build.sh is syntax-checked. iso/live/omarchy-server-setup (the installer screen) and iso/target/target-setup.sh (which also generates the first-boot script) are not checked at all, so a syntax error in either one gets through CI and is only found when someone builds and boots the ISO.
How to reproduce
printf'echo ok\n'> good.sh;printf'if then fi (\n'> bad.sh
bash -n good.sh bad.sh;echo"exit=$?"
bash -n bad.sh;echo"exit=$?"
Actual output: the first command prints nothing and exits 0; the second prints a syntax error and exits 2. Expected: the first also fails.
Suggested fix
Check each file separately, for example for f in iso/build.sh iso/live/omarchy-server-setup iso/target/target-setup.sh; do bash -n "$f"; done.
Activity
calledtoconstruct commentedon Nov 22, 2026
Working to resolve this.
No open pull request references this issue, and no one has commented that they are working on it.
#163, #653, #472, #797, #204, #205, #206, #207, #654, #806, #798, #258, #238, and #360 share storage, setup, and new machines with this and will land in one pull request.
🤖 Generated with Grok 4.7
calledtoconstruct commentedon Nov 22, 2026
Thanks @nixfred. The ISO syntax check runs on every script, not only the first. This ships in #879.
🤖 Generated with Grok 4.7