From: Paul Hänsch Date: Thu, 21 Sep 2023 19:49:01 +0000 (+0200) Subject: bugfix: set error message on log failure X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=a48d84f775ee8c57beaa8b594a9a92382ee7c1df;p=shellwiki bugfix: set error message on log failure --- 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