FreeBSD Bugzilla – Attachment 195172 Details for
Bug 229806
usr.sbin/sysrc: Warning message "unknown variable" should be on stderr
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Write warning to stderr
sysrc-unknown-variable-message.patch (text/plain), 432 bytes, created by
Andreas Sommer
on 2018-07-16 14:49:11 UTC
(
hide
)
Description:
Write warning to stderr
Filename:
MIME Type:
Creator:
Andreas Sommer
Created:
2018-07-16 14:49:11 UTC
Size:
432 bytes
patch
obsolete
>diff --git a/usr.sbin/sysrc/sysrc b/usr.sbin/sysrc/sysrc >index 8785a3d2fbc..01e27a03e51 100644 >--- a/usr.sbin/sysrc/sysrc >+++ b/usr.sbin/sysrc/sysrc >@@ -874,7 +874,7 @@ while [ $# -gt 0 ]; do > *) > if ! IGNORED=$( f_sysrc_get "$NAME?" ); then > [ "$IGNORE_UNKNOWNS" -o "$QUIET" ] || >- echo "$pgm: unknown variable '$NAME'" >+ f_err "%s: unknown variable '%s'\\n" "$pgm" "$NAME" > shift 1 > status=$FAILURE > continue
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 229806
: 195172