arp should warn when it can't exec netstat
The arp command execs netstat when using arp -a. However, if it can't execute netstat, then it just silently fails and doesn't print anything, just exiting with 1. It makes it very hard for most folks to realize that's different from there being nothing in the arp tables. We should instead print an explicit error to stderr.
Updated by Electric Monk almost 7 years ago
- Status changed from New to Closed
commit 2545d10d08f1bf15162c2c0998fcae535d08c0d9 Author: Robert Mustacchi <email@example.com> Date: 2015-10-06T15:49:05.000Z 6275 arp should warn when it can't exec netstat Reviewed by: Jerry Jelinek <firstname.lastname@example.org> Reviewed by: Igor Kozhukhov <email@example.com> Reviewed by: Jason King <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>