mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
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…
x
Reference in New Issue
Block a user