Skip to content

Commit

Permalink
#142 Add default for check to avoid error
Browse files Browse the repository at this point in the history
  • Loading branch information
jelemux authored and kahoona77 committed Jun 28, 2024
1 parent 7a8e89c commit ab48c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ printCloudoguLogo() {

waitForPostUpgrade() {
# check whether post-upgrade script is still running
while [[ "$(doguctl config "local_state")" == "upgrading" ]]; do
while [[ "$(doguctl config "local_state" -d "empty")" == "upgrading" ]]; do
echo "Upgrade script is running. Waiting..."
sleep 3
done
Expand Down

0 comments on commit ab48c61

Please sign in to comment.