shell syntax
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2639|10|2629|7|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/395//ansiblelint">Evolix » ansible-roles » unstable #395</a>
gitea/ansible-roles/pipeline/head This commit looks good

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