Comment 13 for bug 1263476

Revision history for this message
Tao Zhou (angeloudy) wrote :

I am experiencing the same issue on free BSD. replacing

ss -p state listening "( sport = :$PORT )" | grep -qE 'socat|nc' && break

with

        lsof -i :$PORT | grep LISTEN | grep -qE 'socat|nc' && break

Solved the problem.
Also, the tar cmd is not compatible with FreeBSD either.