mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-25 02:01:13 +08:00
shell tools: Quote the arguments to tr
This commit is contained in:
@@ -29,7 +29,7 @@ PTDEBUG="${PTDEBUG:-""}"
|
||||
EXIT_STATUS=0
|
||||
|
||||
log() {
|
||||
TS=$(date +%F-%T | tr :- _);
|
||||
TS=$(date +%F-%T | tr ':-' '_');
|
||||
echo "$TS $*"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user