4 ms·
On set -e: This is like adding a setting to your Java or Python program to immediately exit if any method call throws any kind of exception, with no possibilit
by tomohawk 7y ago
On set -e:
This is like adding a setting to your Java or Python program to immediately exit if any method call throws any kind of exception, with no possibility of catching and handling that exception.
This does not seem to be a smart thing to do as compared to checking return codes, etc.
Every script I've seen with set -e has been buggier than without it.
The main problem with scripts is that they often do not go through a normal software review and testing process.