Skip to content

Commit

Permalink
Merge pull request #9 from logzio/fix-nc-hang
Browse files Browse the repository at this point in the history
fix nc hung bug
  • Loading branch information
Doron-Bargo authored Sep 2, 2021
2 parents da1cafe + 03bbe3f commit d79d5bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified dist/logzio-rsyslog.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion rsyslog/configure_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function validate_network_connectivity {
# Run tests nc OR netcat
if is_installed netcat || is_installed nc || is_installed nmap-ncat; then
log "INFO" "Checking if ${LISTENER_HOST} is reachable via ${LISTENER_PORT} port, using netcat. This may take some time...."
echo "test" | nc ${LISTENER_HOST} ${LISTENER_PORT}
echo "test" | nc -v -z -w 10 ${LISTENER_HOST} ${LISTENER_PORT}
status=$?
elif is_installed telnet; then
echo "-------------------------------------------"
Expand Down
4 changes: 2 additions & 2 deletions rsyslog/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ fi
# ----------------------------------------
# Setup variables
# ----------------------------------------
SCRIPT_VERSION="1.0.0"
SCRIPT_VERSION="1.64.0"

#LOGZ_DIST_URL=https://dl.bintray.com/ofervelich/generic
#LOGZ_DIST_URL=https://github.com/logzio/logzio-rsyslog/blob/master/dist
#LOGZ_DIST=logzio-rsyslog.tar.gz


Expand Down

0 comments on commit d79d5bf

Please sign in to comment.