diff --git a/WHATS_NEW b/WHATS_NEW index a1c025a39..b080742f3 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -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. diff --git a/scripts/fsadm.sh b/scripts/fsadm.sh index 642d32e71..7449b3343 100644 --- a/scripts/fsadm.sh +++ b/scripts/fsadm.sh @@ -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