From ed7f9e79ae488ff945a2a38d43a4860ca74dea85 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Mon, 16 Jan 2023 13:16:19 +0100 Subject: [PATCH] default value --- client/lib/utilities.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/lib/utilities.sh b/client/lib/utilities.sh index d17aa3c..0f48077 100644 --- a/client/lib/utilities.sh +++ b/client/lib/utilities.sh @@ -11,7 +11,7 @@ log() { } log_error() { local error_msg=${1} - local error_file=${2:""} + local error_file=${2:-""} if [ -n "${error_file}" ] && [ -f "${error_file}" ]; then printf "\n### %s\n" "${error_msg}" >&2