FreeBSD Bugzilla – Attachment 204709 Details for
Bug 238232
[patch] sysrc ignores the -i ignore flag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
simple patch to sysrc for -i
sysrc.patch (text/plain), 486 bytes, created by
Yann Kerherve
on 2019-05-30 01:06:54 UTC
(
hide
)
Description:
simple patch to sysrc for -i
Filename:
MIME Type:
Creator:
Yann Kerherve
Created:
2019-05-30 01:06:54 UTC
Size:
486 bytes
patch
obsolete
># diff -Naur /usr/sbin/sysrc /tmp/sysrc >--- /usr/sbin/sysrc 2019-05-29 22:37:39.337940000 +0000 >+++ /tmp/sysrc 2019-05-30 00:56:16.951036000 +0000 >@@ -873,11 +873,14 @@ > ;; > *) > if ! IGNORED=$( f_sysrc_get "$NAME?" ); then >- [ "$IGNORE_UNKNOWNS" -o "$QUIET" ] || >+ if [ ! "$IGNORE_UNKNOWNS" ]; then >+ status=$FAILURE >+ fi >+ if [ ! "$QUIET" ]; then > f_err "%s: unknown variable '%s'\n" \ > "$pgm" "$NAME" >+ fi > shift 1 >- status=$FAILURE > continue > fi
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 Raw
Actions:
View
Attachments on
bug 238232
: 204709