@Zergling_man@sacred.harpy.faith
Post #1793623
2026-04-27 17:39 UTC
die || true successfully suppresses the exit code of die, but die; if [ $? = 127 ]; then true; fi doesn't.
Replies (1)
-
@HatkeshiatorTND@annihilation.social 2026-04-27 17:43
@Zergling_man@sacred.harpy.faith are you sure that should be [ and not [[? are you sure that's : giving you that exit code? or are you seeing the return value of the if block itself, maybe intended to be used as if cond; then nigger; fi || nigger2 again i have no idea what i'm talking about