From a639e0fb020e60e2f666f89231a3ed510621cb33 Mon Sep 17 00:00:00 2001 From: Kyle Cole <54221202+cakeholeDC@users.noreply.github.com> Date: Thu, 27 Jun 2024 18:19:08 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=AA=20shellcheck?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- device_get_size.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device_get_size.sh b/device_get_size.sh index a313d6f..6f5d997 100755 --- a/device_get_size.sh +++ b/device_get_size.sh @@ -8,7 +8,7 @@ if [ -z "${DEVICE}" ]; then exit 1; fi -SIZE_MB=$(df | grep $DEVICE | awk -F ' ' '{print $2}') +SIZE_MB=$(df | grep "$DEVICE" | awk -F ' ' '{print $2}') # echo $SIZE_MB echo "DEVICE = ${bold}$DEVICE${normal}"