We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2143e95 commit f77595bCopy full SHA for f77595b
bin/ghe-restore
@@ -173,7 +173,7 @@ if $instance_configured; then
173
fi
174
175
# Make sure the appliance doesn't already have a restore underway
176
-if [ "$GHE_VERSION_MAJOR" -ge 2 ] && ghe-ssh "$GHE_HOSTNAME" -- "sudo grep -q 'restoring' '$GHE_REMOTE_DATA_USER_DIR/common/ghe-restore-status' 2>/dev/null"; then
+if [ "$GHE_VERSION_MAJOR" -ge 2 ] && ghe-ssh "$GHE_HOSTNAME" -- "sudo grep -q restoring $GHE_REMOTE_DATA_USER_DIR/common/ghe-restore-status 2>/dev/null"; then
177
echo "Error: $GHE_HOSTNAME already has a restore underway. Aborting." 1>&2
178
exit 1
179
0 commit comments