fix: update badge not displaying on menu

This commit is contained in:
SamNet-dev
2026-02-11 00:03:25 -06:00
parent 73b51834d1
commit 5884dfe284

View File

@@ -8830,7 +8830,7 @@ SVCEOF
echo -e " 7. 🔁 Restart Conduit" echo -e " 7. 🔁 Restart Conduit"
local _update_badge="" local _update_badge=""
if [ -f /tmp/.conduit_update_available ]; then if [ -f /tmp/.conduit_update_available ]; then
local _uv=$(<"/tmp/.conduit_update_available" 2>/dev/null) local _uv=$(cat "/tmp/.conduit_update_available" 2>/dev/null)
if [ "$_uv" = "new" ]; then if [ "$_uv" = "new" ]; then
_update_badge=" ${GREEN}⚡ Update available!${NC}" _update_badge=" ${GREEN}⚡ Update available!${NC}"
elif [ -n "$_uv" ]; then elif [ -n "$_uv" ]; then