mirror of https://github.com/CISOfy/lynis.git
Fixed IsTcpUdpListening function
This commit is contained in:
parent
232419df8c
commit
1f320f68c2
|
@ -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 New Issue