fix: 🐛 Fix typo in entrypoint
This commit is contained in:
parent
14178dcde1
commit
b1fb4a2bda
@ -13,7 +13,7 @@ else
|
|||||||
MEMLIMIT=$(grep MemTotal /proc/meminfo | awk '{print $2 * 1024}')
|
MEMLIMIT=$(grep MemTotal /proc/meminfo | awk '{print $2 * 1024}')
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $MEMLIMIT =~ ^[0-9]+$ ]]; then
|
if ! [[ $MEMLIMIT =~ ^[0-9]+$ ]]; then
|
||||||
MEMLIMIT=$MEMSIZE
|
MEMLIMIT=$MEMSIZE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user