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
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:
parent
00fad357b5
commit
71ed4c4c8c
|
@ -7,7 +7,7 @@ processlist() {
|
||||||
}
|
}
|
||||||
|
|
||||||
DIR="/var/log/mysql-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}"
|
FILE="${DIR}/${TS}"
|
||||||
|
|
||||||
if [ ! -d "${DIR}" ]; then
|
if [ ! -d "${DIR}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue