FreeBSD Bugzilla – Attachment 182735 Details for
Bug 186333
route(8) fails to return correct exit status in quiet mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix exit status for "route -q add/change/delete"
route.c.diff (text/plain), 645 bytes, created by
Eugene Grosbein
on 2017-05-19 09:26:29 UTC
(
hide
)
Description:
fix exit status for "route -q add/change/delete"
Filename:
MIME Type:
Creator:
Eugene Grosbein
Created:
2017-05-19 09:26:29 UTC
Size:
645 bytes
patch
obsolete
>Index: sbin/route/route.c >=================================================================== >--- sbin/route/route.c (revision 318400) >+++ sbin/route/route.c (working copy) >@@ -1047,10 +1047,13 @@ > } > printf("\n"); > } >+ } > >- fibnum = 0; >- TAILQ_FOREACH(fl, &fibl_head, fl_next) { >- if (fl->fl_error != 0) { >+ fibnum = 0; >+ TAILQ_FOREACH(fl, &fibl_head, fl_next) { >+ if (fl->fl_error != 0) { >+ error = 1; >+ if (!qflag) { > printf("%s %s %s", cmd, (nrflags & F_ISHOST) > ? "host" : "net", dest); > if (*gateway) >@@ -1084,7 +1087,6 @@ > break; > } > printf(": %s\n", errmsg); >- error = 1; > } > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 186333
:
139937
| 182735