Skip to content

Commit

Permalink
The -f flag should also bypass the no updates check
Browse files Browse the repository at this point in the history
  • Loading branch information
demyxco committed Mar 27, 2024
1 parent f22dd2a commit bab05a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host.sh
Expand Up @@ -330,7 +330,7 @@ demyx_host_upgrade() {
DEMYX_HOST_UPGRADE_FORCE="$(echo "$DEMYX_HOST_ARGS" | grep -e "-f" || true)"

# Exit if no updates are available
if [[ "$DEMYX_HOST_UPDATE_IMAGES_COUNT" = 0 ]]; then
if [[ "$DEMYX_HOST_UPDATE_IMAGES_COUNT" = 0 && -z "$DEMYX_HOST_UPGRADE_FORCE" ]]; then
echo -e "\e[34m[INFO]\e[39m No updates available"
exit
fi
Expand Down

0 comments on commit bab05a1

Please sign in to comment.