3 ms·
The whole thing will exit if any of those fail because of the double ampersands. Semicolons are the ones that ignore exit codes. Things like this are why I don
by curryst 5y ago
The whole thing will exit if any of those fail because of the double ampersands. Semicolons are the ones that ignore exit codes.
Things like this are why I don't love bash. Whether a script will fail if a step fails is too important to be hidden behind a single character change in a place most people ignore.