From 2c8022fe794d9df36ef061ca7ef316ebd38fec08 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 29 Aug 2026 10:00:17 -0400 Subject: [PATCH] Update config fix return --- config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config b/config index 12681907..dcf6e657 100755 --- a/config +++ b/config @@ -2251,10 +2251,10 @@ elif [ "$1" = "-V" ]; then read NEWCPU - if [ $NEWCPU == "" ] ; then + if [ -z $NEWCPU ] ; then echo "No change to maxcpus" elif [ $NEWCPU == "0" ] ; then - sudo sed -i 's/maxcpus=$CPUS//g' + sudo sed -i 's/maxcpus=$CPUS//g' $CMDLINE echo "Removing maxcpus setting" elif [ $NEWCPU == "1" ] || [ $NEWCPU == "2" ] || [ $NEWCPU == "3" ] ; then sudo sed -i "s/maxcpus=$CPUS/maxcpus=$NEWCPU/g" $CMDLINE