[Bug 286576] netstat illegal option exit code 64
Date: Sun, 04 May 2025 14:29:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286576
Bug ID: 286576
Summary: netstat illegal option exit code 64
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: andrey@bsdnir.info
Previous releases include 14.2 error code = 1
# netstat --route --numeric --extend
netstat: illegal option -- -
...
# echo $?
1
# uname -a
FreeBSD free14.local 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
In 15-Current exit code now 64, it's broke cloud-init (hardcode check exit code
1 https://github.com/canonical/cloud-init/issues/6206)
# netstat --route --numeric --extend
netstat: illegal option -- -
...
# echo $?
64
# uname -a
FreeBSD free15250410.local 15.0-CURRENT FreeBSD 15.0-CURRENT #0
main-n276914-f676c13d4226: Thu May 1 05:11:20 UTC 2025 GENERIC amd64
--
You are receiving this mail because:
You are the assignee for the bug.