Fix shellcheck warning in pre-baked script

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #6055
This commit is contained in:
Tony Hutter 2017-04-24 09:31:39 -07:00 committed by Brian Behlendorf
parent 0091d66f4e
commit b717b11cb0

View File

@ -68,7 +68,7 @@ for i in $list ; do
# Special case: Looking up the size of a file-based vdev can't # Special case: Looking up the size of a file-based vdev can't
# be done with lsblk. # be done with lsblk.
if [ "$i" = "size" ] && [ -f "$VDEV_UPATH" ] ; then if [ "$i" = "size" ] && [ -f "$VDEV_UPATH" ] ; then
size="$(du -h --apparent-size $VDEV_UPATH | cut -f 1)" size=$(du -h --apparent-size "$VDEV_UPATH" | cut -f 1)
echo "size=$size" echo "size=$size"
continue continue
fi fi