[Bug 287156] usr.sbin/certctl: bad $VERBOSE check

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 30 May 2025 00:13:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287156

            Bug ID: 287156
           Summary: usr.sbin/certctl: bad $VERBOSE check
           Product: Base System
           Version: 14.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: fullermd@over-yonder.net

In stable/14, eed04cc1699bf64 cherry-picked head's 1525625c7c9458 which
reworked how $VERBOSE is defined, but not all uses of it were updated. 
Particularly, the check in do_list() still tries to do a [ $VERBOSE -eq 0 ]
which fails noisily and repeatedly:

% certctl list
[...]
[: false: bad number
fe8a2cd8.0      subject=C = PL, ...
[: false: bad number
feffd413.0      subject=C = BE, ...
[: false: bad number
ff34af3f.0      subject=C = TR, ...


Appears to have been reworked in head as part of a401c8cb26b226.

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