summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rwxr-xr-xcmd/zpool/zpool.d/lsblk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zpool/zpool.d/lsblk b/cmd/zpool/zpool.d/lsblk
index e38a71941..fc0394a3d 100755
--- a/cmd/zpool/zpool.d/lsblk
+++ b/cmd/zpool/zpool.d/lsblk
@@ -68,7 +68,7 @@ for i in $list ; do
# Special case: Looking up the size of a file-based vdev can't
# be done with lsblk.
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"
continue
fi