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 b4c8606 commit 2591f7aCopy full SHA for 2591f7a
bin/ghe-restore
@@ -647,7 +647,7 @@ if $instance_configured; then
647
echo "nomad stop redis" |
648
ghe-ssh "$GHE_HOSTNAME" -- /bin/sh 1>&3 2>&3
649
ghe-ssh "$GHE_HOSTNAME" -- "/usr/local/share/enterprise/ghe-nomad-jobs queue /etc/nomad-jobs/redis/redis.hcl" 1>&3 2>&3
650
- if $? -gt 0; then
+ if [ "$?" -gt 0 ]; then
651
log_error "Unable to restart redis"
652
fi
653
log_info "Getting redis status after restart..." 1>&3
0 commit comments