[Bug 277699] freebsd-update: "cron install" give spurious message compared to "fetch install"

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 14 Mar 2024 16:30:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277699

            Bug ID: 277699
           Summary: freebsd-update: "cron install" give spurious message
                    compared to "fetch install"
           Product: Base System
           Version: 13.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: michaelo@FreeBSD.org

Running "freebsd cron install" gives me:
> No updates are available to install.
> Run '/usr/sbin/freebsd-update fetch' first.

Well, I did the fetch via "cron". Looking at the source it seems to come from
incomplete change in
https://svnweb.freebsd.org/base/head/usr.sbin/freebsd-update/freebsd-update.sh?r1=324441&r2=324440&pathrev=324441.

After a one line patch it looks:
> No updates are available to install.

Will provide a patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.