mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-05 05:05:08 +02:00
a043d9a3ef
[ -f a ] || [ -f b ] && X="y" evaluates as A || (B && C), so the
assignment only runs when the second test passes. Wrap the OR group
in braces: { [ -f a ] || [ -f b ]; } && X="y".
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>