Fix syntax error in cyberpanel_upgrade.sh - add missing if statement for lscpd service check

This commit is contained in:
master3395
2026-01-28 03:12:08 +01:00
parent 63a54607b7
commit 88e1faa07d

View File

@@ -1543,6 +1543,9 @@ fi
# Test if CyberPanel is accessible
echo -e "\n🔍 Testing CyberPanel accessibility..."
# Check if lscpd service is running
if systemctl is-active --quiet lscpd 2>/dev/null; then
echo "╔═════════════════════════════════════════════════════════════════════════════════════════════════════════════╗"
echo "║ ║"
echo "║ 🌐 ACCESS YOUR CYBERPANEL: ║"