Skip to content
Snippets Groups Projects
Verified Commit fe233a17 authored by David Beniamine's avatar David Beniamine
Browse files

More reliable netcat

parent 49529794
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ do
fi
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-$$
fi
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment