Commit eb80809
route(8): fix
Fix route(8) incorrectly returning a zero exit code even when unable to
find the specified route with route -n get <route>.
PR: 274426
Reviewed by: kp
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D41882
(cherry picked from commit 2a78083)route not found exit code and warn with netlink1 parent 00d474e commit eb80809
1 file changed
+15
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
275 | 275 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
| 276 | + | |
282 | 277 | | |
283 | | - | |
284 | | - | |
285 | 278 | | |
286 | 279 | | |
287 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
288 | 291 | | |
| 292 | + | |
289 | 293 | | |
| 294 | + | |
290 | 295 | | |
291 | 296 | | |
292 | 297 | | |
| |||
0 commit comments