small tweak for default route checking, we don't care about the number of
authorsthen <sthen@openbsd.org>
Thu, 22 Jul 2021 18:09:04 +0000 (18:09 +0000)
committersthen <sthen@openbsd.org>
Thu, 22 Jul 2021 18:09:04 +0000 (18:09 +0000)
commit6041cb5b5a3615b934251d6cfc82642411fbcaab
tree25a18c906afe7351d077d22f4cbf0d1ce1a648e7
parent665300f1de7a790196e841021eeefbcdbb8f6d4b
small tweak for default route checking, we don't care about the number of
routes, only if at least one exists, so can avoid the subshell and just use
grep -q. ok deraadt
etc/rc