Skip to content

Commit

Permalink
🦪 shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
cakeholeDC committed Jun 28, 2024
1 parent 4415ee9 commit a639e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device_get_size.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit a639e0f

Please sign in to comment.