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: [email protected]
          Reporter: [email protected]

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.

Reply via email to