From b1fb4a2bdae72aa122cf58706c4f375480e6c6f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Gol=C3=A1=C5=88=20jr=2E?= Date: Sun, 25 Aug 2024 21:55:17 +0200 Subject: [PATCH] fix: :bug: Fix typo in entrypoint --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index f7c0447..ffa4817 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,7 +13,7 @@ else MEMLIMIT=$(grep MemTotal /proc/meminfo | awk '{print $2 * 1024}') fi -if [[ $MEMLIMIT =~ ^[0-9]+$ ]]; then +if ! [[ $MEMLIMIT =~ ^[0-9]+$ ]]; then MEMLIMIT=$MEMSIZE fi