Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Boratyński <kamil.boratynski@icloud.com>2016-03-23 01:57:09 +0300
committerKamil Boratyński <kamil.boratynski@icloud.com>2016-03-23 01:57:09 +0300
commit1f320f68c2e742c98d0850c5d569850f91cc1fd4 (patch)
tree9ca25e244fff7e37856fe2ef31283f889afc466d /include/functions
parent232419df8c0c4d9dee887a119d9fb11d14b17ee3 (diff)
Fixed IsTcpUdpListening function
Diffstat (limited to 'include/functions')
-rw-r--r--include/functions3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/functions b/include/functions
index 8ef50d2b..bed754ea 100644
--- a/include/functions
+++ b/include/functions
@@ -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
}