forked from evolix/ansible-roles
shell syntax
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