removed fixed 'stamp' var and replaced it with a function so it updates

This commit is contained in:
Asif Bacchus 2018-10-28 05:10:58 -06:00
parent ed9db22534
commit a14d0ba4a5

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 ###
@ -101,6 +100,10 @@ function scriptHelp {
exit 1
}
function stamp {
echo `date +%F" "%T`
}
### quit -- exit the script after logging any errors, warnings, etc.
function quit {
# list generated warnings, if any