logic error: ping -o -t 10 will test if a host is up (giving up after 10 seconds)