opnsense-src/libexec/nuageinit
Jose Luis Duran 182ff41e84 nuageinit: Standardize warning/error messages
Standardize the utilities from nuage.lua, to return nil on failure, plus
an error message as a second result, and some value different from nil
on success.

Make warnmsg() and errmsg() append "nuageinit: " by default.  Pass an
optional second parameter as false to avoid printing this tag.

Signed-off-by: Jose Luis Duran <jlduran@gmail.com>
(cherry picked from commit 945632ca76117029e7bd1f46d17ccb378973daf7)
2024-10-08 09:04:01 +02:00
..
tests nuageinit: Standardize warning/error messages 2024-10-08 09:04:01 +02:00
Makefile
nuage.lua nuageinit: Standardize warning/error messages 2024-10-08 09:04:01 +02:00
nuageinit nuageinit: Standardize warning/error messages 2024-10-08 09:04:01 +02:00
yaml.lua nuageinit: Lua check and lint files 2024-10-08 09:04:01 +02:00