fix: sys_interface_check() must set the caller's $msg var (closes #533)

This commit is contained in:
Stéphane Lesimple
2026-04-04 14:19:47 +02:00
parent cc6bbaad19
commit a089ae8cef

View File

@@ -281,7 +281,7 @@ pr_info
# Sets: ret_sys_interface_check_fullmsg # Sets: ret_sys_interface_check_fullmsg
# Returns: 0 if file matched, 1 otherwise # Returns: 0 if file matched, 1 otherwise
sys_interface_check() { sys_interface_check() {
local file regex mode msg mockvarname local file regex mode mockvarname
file="$1" file="$1"
regex="${2:-}" regex="${2:-}"
mode="${3:-}" mode="${3:-}"