Update warn messages on 2.2.15_mta_localhost.sh (#193)

warn messages had typo netsat as it should be netstat
This commit is contained in:
JugeHuge 2023-08-30 11:23:27 +03:00 committed by GitHub
parent 6135c3d0e5
commit db9ff8a7fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ HARDENING_EXCEPTION=mail
audit() { audit() {
is_pkg_installed net-tools is_pkg_installed net-tools
if [ "$FNRET" != 0 ]; then if [ "$FNRET" != 0 ]; then
warn "netsat not installed, cannot execute check" warn "netstat not installed, cannot execute check"
exit 2 exit 2
else else
info "Checking netport ports opened" info "Checking netport ports opened"
@ -47,7 +47,7 @@ audit() {
apply() { apply() {
is_pkg_installed net-tools is_pkg_installed net-tools
if [ "$FNRET" != 0 ]; then if [ "$FNRET" != 0 ]; then
warn "netsat not installed, cannot execute check" warn "netstat not installed, cannot execute check"
exit 2 exit 2
else else
info "Checking netport ports opened" info "Checking netport ports opened"