mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Fixed IsTcpUdpListening function
This commit is contained in:
parent
232419df8c
commit
1f320f68c2
1 changed files with 1 additions and 2 deletions
|
|
@ -122,7 +122,7 @@
|
|||
################################################################################
|
||||
# Name : IsTcpUdpListening()
|
||||
# Description : Check if machine is listening on specified protocol and port
|
||||
# Returns : 0 or 1
|
||||
# Returns : LISTENING (0 or 1)
|
||||
################################################################################
|
||||
|
||||
IsTcpUdpListening()
|
||||
|
|
@ -139,7 +139,6 @@
|
|||
fi
|
||||
else
|
||||
ReportException ${TEST_NO} "Error in function call to IsTcpUdpListening"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue