File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
share/github-backup-utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ snapshot_dir="$GHE_DATA_DIR/$GHE_RESTORE_SNAPSHOT"
31
31
ssh_config_file_opt=
32
32
if is_binary_backup_feature_on; then
33
33
# Feature "mysql.backup.binary" is on, which means new backup scripts are available
34
- if is_binary_backup $snapshot_dir ; then
34
+ if is_binary_backup " $snapshot_dir " ; then
35
35
if $CLUSTER ; then
36
36
ghe_mysql_master=$( ghe-ssh " $GHE_HOSTNAME " ghe-config " cluster.mysql-master" )
37
37
if [ -z $ghe_mysql_master ]; then
@@ -64,7 +64,7 @@ if is_binary_backup_feature_on; then
64
64
fi
65
65
else
66
66
# We do not allow to restore binary backup without "mysql.backup.binary" set
67
- if is_binary_backup $snapshot_dir ; then
67
+ if is_binary_backup " $snapshot_dir " ; then
68
68
echo " To restore from a binary backup, you have to set ghe-config \" mysql.backup.binary\" to true" >&2
69
69
exit 2
70
70
else
You can’t perform that action at this time.
0 commit comments