Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Sep 2022 12:56:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 266052] libucl: ctld fails to start when including nonexistent globs
Message-ID:  <bug-266052-227-UAU1vscWuV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266052-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266052-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266052

Alan Somers <asomers@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
         Resolution|---                         |Not A Bug

--- Comment #1 from Alan Somers <asomers@FreeBSD.org> ---
Somebody alerted me to a good solution.  The .include macro has a "try" opt=
ion,
which will silently ignore any ENOENT error, like this:

.include(try=3Dtrue, glob=3Dtrue) "/etc/ctl.d/lun/*"

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266052-227-UAU1vscWuV>