Skip to content

Commit 0cd00f9

Browse files
committed
Fix ghe-restore error in remote version comparison
1 parent 4b5cd68 commit 0cd00f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/ghe-restore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ if ghe-ssh "$GHE_HOSTNAME" -- \
9393
"[ -f '$GHE_REMOTE_DATA_DIR/enterprise/dna.json' -o \
9494
-f '$GHE_REMOTE_ROOT_DIR/etc/github/configured' ]"; then
9595
instance_configured=true
96-
elif [ "$GHE_REMOTE_VERSION" -ge 2 ]; then
96+
elif [ "$GHE_VERSION_MAJOR" -ge 2 ]; then
9797
restore_settings=true
9898
fi
9999

0 commit comments

Comments
 (0)