From 7df352496c48231d8bed2662d5f8f7108bf92bc2 Mon Sep 17 00:00:00 2001 From: Mikael Larsson Date: Wed, 20 Dec 2023 18:45:21 +0100 Subject: [PATCH] fix: no space accepted around = when assigning variables (#4) Co-authored-by: Mikael Larsson --- pgtune.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgtune.sh b/pgtune.sh index 2c767ee..2186b0d 100644 --- a/pgtune.sh +++ b/pgtune.sh @@ -177,7 +177,7 @@ set_maintenance_work_mem() { local mem_limit=$(( 2 * $GB / $KB )) if [ "$maintenance_work_mem" -gt "$mem_limit" ] then - maintenance_work_mem = $mem_limit + maintenance_work_mem=$mem_limit fi }