From 1bc62d81cdb181bc9c016c2562ec97bc1b6ac1f5 Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Mon, 20 Jun 2022 17:52:26 +0200 Subject: [PATCH] client: fix pt-show-grants error path --- client/zzz_evobackup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/zzz_evobackup b/client/zzz_evobackup index da57185..1d00bb9 100755 --- a/client/zzz_evobackup +++ b/client/zzz_evobackup @@ -101,7 +101,7 @@ local_tasks() { ## Dump all grants (requires 'percona-toolkit' package) # mkdir -p -m 700 ${LOCAL_BACKUP_DIR}/mysql/ - # pt-show-grants --flush --no-header 2> /mysql/all_grants.err > ${LOCAL_BACKUP_DIR}/mysql/all_grants.sql + # pt-show-grants --flush --no-header 2> ${LOCAL_BACKUP_DIR}/mysql/all_grants.err > ${LOCAL_BACKUP_DIR}/mysql/all_grants.sql # last_rc=$? # if [ ${last_rc} -ne 0 ]; then # error "pt-show-grants returned an error ${last_rc}, check ${LOCAL_BACKUP_DIR}/mysql/all_grants.err"