Skip to content

Commit 6d86ba0

Browse files
committed
fix typo
1 parent c80fdb3 commit 6d86ba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/ghe-host-check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ if [ -n "$GHE_RESTORE_SNAPSHOT_PATH" ]; then
165165
fi
166166

167167
if [ -z "$GHE_ALLOW_REPLICA_BACKUP" ]; then
168-
if [ "$(ghe-ssh $host -- cat $GHE_REMOTE_ROOT_DIR/etc/github/repl-state1 2>/dev/null || true)" = "replica" ]; then
168+
if [ "$(ghe-ssh $host -- cat $GHE_REMOTE_ROOT_DIR/etc/github/repl-state 2>/dev/null || true)" = "replica" ]; then
169169
echo "Error: high availability replica detected." 1>&2
170170
echo "Backup Utilities should be used to backup from the primary node in" 1>&2
171171
echo "high availability environments to ensure consistent and reliable backups." 1>&2

0 commit comments

Comments
 (0)