3 ms·
This is great! What about "set -euxo pipefail"? I see you were using eprintln before the commands, could we have a "set" macro that would do that for us?
by Fiahil 6y ago
This is great!
What about "set -euxo pipefail"? I see you were using eprintln before the commands, could we have a "set" macro that would do that for us?
- rustshellscript 6y agoYou can consider it was enabled by default, and any failed command would return error unless you mask it with “xx || true”.