https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239560

            Bug ID: 239560
           Summary: sysrc misinterprets "variable=value"-like strings as
                    real assignments
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

Here is a file that can be used to reproduce the bug:

```
real="
fake=0"
```

Now the result of running `sysrc -f file -a` is:

> real:
> fake=0
> fake:

The bug is that sysrc should not print "fake:" here.

I'm running FreeBSD 13.0-CURRENT r350403.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to