mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-13 07:23:47 -05:00
Add comment
This commit is contained in:
@@ -175,6 +175,10 @@ fatal() { _alert_ fatal "${1}" "${2:-}"; _safeExit_ "1" ; }
|
|||||||
debug() { _alert_ debug "${1}" "${2:-}"; }
|
debug() { _alert_ debug "${1}" "${2:-}"; }
|
||||||
verbose() { _alert_ debug "${1}" "${2:-}"; }
|
verbose() { _alert_ debug "${1}" "${2:-}"; }
|
||||||
|
|
||||||
|
# ################################## Paste or write additional utility functions here
|
||||||
|
|
||||||
|
|
||||||
|
# ################################## Common Functions for script template
|
||||||
_safeExit_() {
|
_safeExit_() {
|
||||||
# DESC: Cleanup and exit from a script
|
# DESC: Cleanup and exit from a script
|
||||||
# ARGS: $1 (optional) - Exit code (defaults to 0)
|
# ARGS: $1 (optional) - Exit code (defaults to 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user