mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
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:
parent
0091d66f4e
commit
b717b11cb0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user