Unverified Commit fe233a17 authored by David Beniamine's avatar David Beniamine
Browse files

More reliable netcat

parent 49529794
......@@ -58,7 +58,7 @@ do
echo "$line $IPS" >> $hostfile-$$
done < $hostfile
stdbuf -oL cat $hostfile-$$ | netcat $host $port
stdbuf -oL cat $hostfile-$$ | while ! netcat $host $port; do sleep 1; done
rm $hostfile-$$
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment