diff options
author | Luke Smith <luke@lukesmith.xyz> | 2018-04-23 15:06:45 -0700 |
---|---|---|
committer | Lyle Hanson <lyle.hanson@wisc.edu> | 2018-05-02 15:32:46 -0500 |
commit | 07b5776f0b69c55cb32c287007b40f3273bb1aea (patch) | |
tree | d759ec3be89fb230f87ec56d930b86ad98eda7e1 /%253fid%253d4e7931e9c568a420d065ff8420f3ab128d334660&id2%253d07b5776f0b69c55cb32c287007b40f3273bb1aea%3fid%3d4e7931e9c568a420d065ff8420f3ab128d334660?id=07b5776f0b69c55cb32c287007b40f3273bb1aea | |
parent | d755931c523ae299f5c99baf880408fb3057c0ad (diff) |
Exit inside parentheses doesn't exit script
Several error conditions were resulting in a message printed and "exit"
being called, however expressions inside parentheses are executed in a
subshell; consequently the *subshell* would exit but the parent shell
continued running the script.
https://stackoverflow.com/questions/19886797/exit-inside-parentheses-doesnt-exit-script
Diffstat (limited to '%253fid%253d4e7931e9c568a420d065ff8420f3ab128d334660&id2%253d07b5776f0b69c55cb32c287007b40f3273bb1aea%3fid%3d4e7931e9c568a420d065ff8420f3ab128d334660?id=07b5776f0b69c55cb32c287007b40f3273bb1aea')
0 files changed, 0 insertions, 0 deletions