mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix usage of --yes flag for ReiserFS resize
Put 'dry' before resize command - using dry for echo had no use.
This commit is contained in:
parent
55b94bf393
commit
01143a9313
@ -1,5 +1,6 @@
|
||||
Version 2.02.75 -
|
||||
=====================================
|
||||
Fix usage of --yes flag for ReiserFS resize in fsadm.
|
||||
Fix detection of mounted filesystems for fsadm when udev is used.
|
||||
Fix assignment of default value to LVM variable is fsadm.
|
||||
Fix support for --yes flag for fsadm.
|
||||
|
@ -300,7 +300,7 @@ resize_reiser() {
|
||||
decode_size $1 $BLOCKSIZE
|
||||
verbose "Resizing \"$VOLUME\" $BLOCKCOUNT -> $NEWBLOCKCOUNT blocks ($NEWSIZE bytes, bs: $NEWBLOCKCOUNT)"
|
||||
if [ -n "$YES" ]; then
|
||||
dry echo y | $RESIZE_REISER -s $NEWSIZE "$VOLUME"
|
||||
echo y | dry $RESIZE_REISER -s $NEWSIZE "$VOLUME"
|
||||
else
|
||||
dry $RESIZE_REISER -s $NEWSIZE "$VOLUME"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user