tiny change

This commit is contained in:
AustrianToast 2023-11-30 23:51:24 +01:00
parent 1d4feed7e5
commit 0032f6f4c2
No known key found for this signature in database
GPG Key ID: 5CD422268E489EB4

4
update
View File

@ -8,7 +8,7 @@ IGREEN="\033[0;92m" # Intense Green
IYELLOW="\033[0;93m" # Intense Yellow IYELLOW="\033[0;93m" # Intense Yellow
NO_COLOR="\033[0m" # Text Reset NO_COLOR="\033[0m" # Text Reset
TMP="/tmp/update" TMP="/tmp/update"
DATE="$(date +"%Y-%m-%dT%H:%M:%S%:z")" # RFC 3339 date-time DATE="$(date +"%Y-%m-%dT%H:%M:%S%:z")" # RFC 3339 date-time https://datatracker.ietf.org/doc/html/rfc3339#section-5.6
FINAL_COMMAND="" FINAL_COMMAND=""
trap interrupt_function INT trap interrupt_function INT
@ -124,4 +124,4 @@ while getopts 'fpagr' OPTIONS; do
done done
after_backup && echo -e "${IGREEN}after-backup complete${NO_COLOR}" after_backup && echo -e "${IGREEN}after-backup complete${NO_COLOR}"
$FINAL_COMMAND; exit 0 $FINAL_COMMAND; exit