On 2021-07-24, shadrock uhuru <[email protected]> wrote: > Hi all > i am running openbsd snapshot and have sysupgraded often without a single > hitch, > on this occasion i have encountered the following error after the > sysupgrade and the laptop tried to reboot > i entered sh and had a look at /etc/rc with ed, > the if is matched with a fi. > so i need suggestions where to turn to next > --------------------- > > reordeing libraries: done > /etc/rc[464]: syntax error: `if' unmatched > enter pathname of shell or return for sh: > > > laptop# ed /etc/rc > 16304 > 464 > if (($(ifconfig | grep -c ': flags=.*<.*AUTOCONF.*> mtu) == 0)); then > count=0 > while ((count++ < 20 && $(route -n show | grep -c '^default ') == 0)); > do > sleep .5 > done > fi
It was not committed like that; I think you have an earlier test snapshot Try updating

