Give error_message in msg_on_error an initial value to make it compatible with set -u

This commit is contained in:
Kamil Śliwak 2023-06-06 10:07:31 +02:00
parent c7372f3f22
commit 25c78be73e

View File

@ -121,7 +121,7 @@ function assertFail
function msg_on_error
{
local error_message
local error_message=""
local no_stdout=false
local no_stderr=false