Skip to content

Commit 495dd26

Browse files
committed
pass host to ghe-ssh
1 parent ff53a77 commit 495dd26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +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 sudo grep -q "ENTERPRISE_AUDIT_LOG_MYSQL_LOGGER_ENABLED='1'" \
45+
ghe-ssh "$GHE_HOSTNAME" sudo grep -q "ENTERPRISE_AUDIT_LOG_MYSQL_LOGGER_ENABLED='1'" \
4646
/data/github/current/.app-config/env.d/99-instance.sh
4747
}
4848

0 commit comments

Comments
 (0)