shell syntax

This commit is contained in:
Jérémy Lecour 2023-11-20 19:03:50 +01:00 committed by Jérémy Lecour
parent 00fad357b5
commit 71ed4c4c8c
Signed by: jlecour
SSH key fingerprint: SHA256:h+5LgHRKwN9lS0SsdVR5yZPeFlJE4Mt+8UtL4CcP8dY

View file

@ -7,7 +7,7 @@ processlist() {
}
DIR="/var/log/mysql-processlist"
TS=`date +%Y%m%d%H%M%S`
TS=$(date +%Y%m%d%H%M%S)
FILE="${DIR}/${TS}"
if [ ! -d "${DIR}" ]; then