removed fixed 'stamp' var and replaced it with a function so it updates
This commit is contained in:
parent
ed9db22534
commit
a14d0ba4a5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user