Philip Guenther <guent...@gmail.com> wrote:

> On Thu, Oct 7, 2021 at 5:57 PM bm1les <bm1...@protonmail.com> wrote:
> 
> > --- netstart    2 Sep 2021 19:38:20 -0000       1.216
> > +++ netstart    8 Oct 2021 02:43:30 -0000
> > @@ -365,7 +365,7 @@ ifmstart "tun tap gif etherip gre egre p
> >  if [[ $ip6kernel == YES ]]; then
> >         # Ensure IPv6 Duplicate Address Detection (DAD) is completed.
> >         count=0
> > -       while ((count++ < 10 && $(sysctl -n net.inet6.ip6.dad_pending) !=
> > 0)); do
> > +       while ((count++ < 10 && "$(sysctl -n net.inet6.ip6.dad_pending)"
> > != 0)); do
> >                 sleep 1
> >         done
> >  fi
> >
> 
> I can't figure out what problem you think this could solve.  Can you
> explain the circumstances under which those quotes could make a difference?

Not the OP's issue, but I think a kernels compiled without option INET6
will return an errno, and I cannot tell if sysctl prints out an error message
or converts to "", the empty string, which would conceivably mis-parse.



Reply via email to