mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-10 06:03:47 -05:00
updates
This commit is contained in:
2
scriptTemplate.sh
Executable file → Normal file
2
scriptTemplate.sh
Executable file → Normal file
@@ -55,7 +55,7 @@ function trapCleanup() {
|
||||
if is_dir "${tmpDir}"; then
|
||||
rm -r "${tmpDir}"
|
||||
fi
|
||||
die "Exit trapped." # Edit this if you like.
|
||||
die "Exit trapped. In function: '${FUNCNAME[*]}'"
|
||||
}
|
||||
|
||||
# safeExit
|
||||
|
||||
Reference in New Issue
Block a user