Programs which fail and then return status code 0 are SUPER COOL GUYS

Follow

@sir I once wrote a script which returns 0 on failure. A while later, I wrote a second script which ran the first script, and re-ran it if it failed. Ended up bricking a microcontroller because the first script failed without being retried.

Friends don't let friends return improper status codes.

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.