From a48d84f775ee8c57beaa8b594a9a92382ee7c1df Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 21 Sep 2023 21:49:01 +0200 Subject: [PATCH] bugfix: set error message on log failure --- handlers/60_edit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/60_edit.sh b/handlers/60_edit.sh index 8bbf1f2..b55a344 100755 --- a/handlers/60_edit.sh +++ b/handlers/60_edit.sh @@ -39,7 +39,7 @@ elif [ "$edit_action" = update ]; then POST pagetext >"$edit_file" S_RELEASE "$edit_file" else - export ERRMSG="ERR_NOLOCK" + export ERROR_MSG="Unable to lock page for editing" REDIRECT "${_BASE}${PATH_INFO%\[edit\]}/[edit]" fi -- 2.39.2