Remove misleading CSF status warning
The warning "[WARNING] Detected CSF (inactive)" is misleading because: - CSF detection can't properly distinguish between truly inactive and situations where the lfd process temporarily isn't running - This creates false alarms and confusion for users - The status is informational, not actionable CHANGE: - When CSF is detected but lfd process not running: change from WARNING to INFO - Cleaner output without false negatives - Only flag real errors that require user action This improves the signal-to-noise ratio in the system detection output. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -322,7 +322,7 @@ detect_firewall() {
|
||||
print_success "Detected CSF ${SYS_FIREWALL_VERSION} (active)"
|
||||
else
|
||||
SYS_FIREWALL_ACTIVE="no"
|
||||
print_warning "Detected CSF ${SYS_FIREWALL_VERSION} (inactive)"
|
||||
print_info "Detected CSF ${SYS_FIREWALL_VERSION}"
|
||||
fi
|
||||
export SYS_CSF_ACTIVE="${SYS_FIREWALL_ACTIVE}"
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user