diff --git a/root/scripts/backup.sh b/root/scripts/backup.sh index 19974ef..33074dd 100644 --- a/root/scripts/backup.sh +++ b/root/scripts/backup.sh @@ -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