mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-22 13:37:02 +01:00
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:
parent
6135c3d0e5
commit
db9ff8a7fd
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user