[Bug 279200] sysrc(8) fails to perform set operations for += and -= in -c (check only) mode.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279200 --- Comment #1 from cr...@rlwinm.de --- If I understand the code correctly the problem is that the case $mode in APPEND), REMOVE), *) is never reached if $CHECK_ONLY is set since sysrc:791 will continue the loop early. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 279200] sysrc(8) fails to perform set operations for += and -= in -c (check only) mode.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279200 Bug ID: 279200 Summary: sysrc(8) fails to perform set operations for += and -= in -c (check only) mode. Product: Base System Version: 14.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: cr...@rlwinm.de The sysrc command does not perform required set union/difference operations when asked to check if a variable contains certain values (or not) e.g. the following sequences of commands returns failure when it shouldn't: sysrc jail_list="jail1 jail2 jail3" && sysrc -c jail_list+=" jail2" -- You are receiving this mail because: You are the assignee for the bug.