From 12f7d1d6c048140d0164bf10c127f000e25c6e7d Mon Sep 17 00:00:00 2001 From: Nathaniel Landau Date: Tue, 13 Jul 2021 17:17:28 -0400 Subject: [PATCH] Add _safeExit_ --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0a3fc98..649d1a5 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ scriptTemplate.sh includes some helper functions to perform common tasks. * `_functionStack_` Prints the function stack in use to aid debugging * `_parseOptions_` Parse options and take user input (`-a`, `--some-flag`, and `--some-file [filename]` supported) * `_usage_` Prints help text when `-h` passed + * `_safeExit_` Used to exit gracefully, cleaning up all temporary files etc. ### Script Initialization The bottom of the script template file contains a block which initializes the script. Comment, uncomment, or change the settings here for your needs