diff --git a/ct/podman-homeassistant-v5.sh b/ct/podman-homeassistant-v5.sh
index f6da09c4..b1581dff 100644
--- a/ct/podman-homeassistant-v5.sh
+++ b/ct/podman-homeassistant-v5.sh
@@ -356,6 +356,7 @@ apt-get -y upgrade &>/dev/null
 msg_ok "Updated ${APP} LXC"
 msg_ok "Update Successfull"
 exit
+fi
 if [ "$UPD" == "2" ]; then
 msg_info "Installing Home Assistant Comunity Store (HACS)"
 apt update &>/dev/null