From 852101c1ac1e4ec0f3c713a35e9344c3c3fe706f Mon Sep 17 00:00:00 2001 From: Martin Kepplinger Date: Thu, 17 May 2018 15:16:59 +0200 Subject: [PATCH] x230: minor bash fix --- x230/prepare_before_installation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x230/prepare_before_installation.sh b/x230/prepare_before_installation.sh index 5b398e9..91fa392 100755 --- a/x230/prepare_before_installation.sh +++ b/x230/prepare_before_installation.sh @@ -43,7 +43,7 @@ done hash dmidecode LAPTOP=$(dmidecode | grep -i x230 | sort -u) -if [ -z $LAPTOP ] ; then +if [ -z "$LAPTOP" ] ; then echo "This is no Thinkpad X230. This script is useless then." exit 0 fi