Skip to content

Commit d5802d5

Browse files
committed
fix logger check
1 parent 495dd26 commit d5802d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

share/github-backup-utils/ghe-restore-audit-log

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ mysql_table_schema_available(){
4242
# Check whether the remote host is running a version where the MySQL backend
4343
# is supported, i.e: < 2.19
4444
is_mysql_supported(){
45-
ghe-ssh "$GHE_HOSTNAME" sudo grep -q "ENTERPRISE_AUDIT_LOG_MYSQL_LOGGER_ENABLED='1'" \
46-
/data/github/current/.app-config/env.d/99-instance.sh
45+
ghe-ssh "$GHE_HOSTNAME" "sudo grep \"ENTERPRISE_AUDIT_LOG_MYSQL_LOGGER_ENABLED='1'\" /data/github/current/.app-config/env.d/99-instance.sh"
4746
}
4847

4948
# Helper function to set remote flags in `/data/user/common/audit-log-import`

0 commit comments

Comments
 (0)