commit | c6cb2565c9285eb54fa9dfbb3890f5464aff410f | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@dtucker.net> | Thu Mar 22 17:00:28 2018 +1100 |
committer | Darren Tucker <dtucker@dtucker.net> | Thu Mar 22 17:00:28 2018 +1100 |
tree | 7836f40c3a7ee5b3d148778e2ecace572c24d5d3 | |
parent | 4c4e7f783b43b264c247233acb887ee10ed4ce4d [diff] |
Save $? before case statement. In some shells (FreeBSD 9, ash) the case statement resets $?, so save for later testing.