The simple "return" would not override the non-zero error code set by the preceding test command, therefore aborting scripts running with "set -e".
The simple "return" would not override the non-zero error code set by the preceding test command, therefore aborting scripts running with "set -e".