https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252709

            Bug ID: 252709
           Summary: exit status of ping utility floating error
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: b...@freebsd.org
          Reporter: sgm....@gmail.com

I use scripts that ping every minute to find that some hosts are down.

=====================================================
if /sbin/ping -c 3 -W 3 some_host > /dev/null
then
    MSG="ping OK"
else
    MSG="ping failed"
fi
=====================================================

After switching to 12.2-Release, this script returns a false result once every
few hours.

Copying ping from FreeBSD 11.4 to a 12.2 machine fixed the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to