From 2c1af90646356a088065b33e4a86d19ca6076ad3 Mon Sep 17 00:00:00 2001 From: Dup4 Date: Sat, 9 Dec 2023 08:19:15 +0800 Subject: [PATCH] feat: add FILE_SIZE_LIMIT param Signed-off-by: Dup4 --- cmd/handle_print_cmd/exec.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/handle_print_cmd/exec.sh b/cmd/handle_print_cmd/exec.sh index be0755c..8a26105 100755 --- a/cmd/handle_print_cmd/exec.sh +++ b/cmd/handle_print_cmd/exec.sh @@ -12,7 +12,7 @@ LOCATION="${7}" if [[ -n "${SUBMIT_FILE_LIMIT}" ]]; then if [[ -s "${FILE}" && $(stat -c%s "${FILE}") -gt "${SUBMIT_FILE_LIMIT}" ]]; then - echo "File size exceeding the limit." + echo "File size exceeding the limit. [FILE_SIZE_LIMIT=${SUBMIT_FILE_LIMIT}]" exit 1 fi fi