Change date format to timestamp

This commit is contained in:
Dryusdan 2021-05-24 21:14:11 +02:00
parent 60a7b1b22b
commit 76ad88aad8
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ fatal() { echo -e "${RED}[FATAL] $* ${NC}" | logger --tag "${SCRIPTNAME}" --
## Define variables ###################################
info "Define variables"
DATE=$(date '+%Y-%m-%d')
DATE=$(date '+%s')
if [ $# -eq 0 ]