[Bug 252709] exit status of ping utility floating error
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 15 12:34:47 UTC 2021
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: bugs at FreeBSD.org
Reporter: sgm.sft at 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.
More information about the freebsd-bugs
mailing list