mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
fsadm: fix bash artihmetic
These shell vars needs to be without "".
This commit is contained in:
parent
a12574303d
commit
50ac89448f
@ -383,7 +383,7 @@ detect_device_size() {
|
||||
test -n "$DEVSIZE" || error "Cannot read size of device \"$VOLUME\"."
|
||||
SSSIZE=$("$BLOCKDEV" --getss "$VOLUME" || true)
|
||||
test -n "$SSSIZE" || error "Cannot read sector size of device \"$VOLUME\"."
|
||||
DEVSIZE=$(("$DEVSIZE" * "$SSSIZE"))
|
||||
DEVSIZE=$(( $DEVSIZE * $SSSIZE ))
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user