removed static stamp var and replaced with dynamic function

This commit is contained in:
Asif Bacchus 2018-10-28 05:23:43 -06:00
parent 1755144a85
commit 9e704bd440
1 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,6 @@ lit="\e[93m"
op="\e[39m"
info="\e[96m"
note="\e[95m"
stamp="[`date +%Y-%m-%d` `date +%H:%M:%S`]"
### Functions ###
@ -90,6 +89,11 @@ function scriptHelp {
exit 1
}
### generate dynamic timestamps
function stamp {
echo `date +%F" "%T`
}
### quit -- exit the script after logging any errors, warnings, etc.
function quit {
# list generated warnings, if any