]> sourceware.org Git - lvm2.git/commitdiff
Fix usage of --yes flag for ReiserFS resize
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 8 Oct 2010 15:00:06 +0000 (15:00 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 8 Oct 2010 15:00:06 +0000 (15:00 +0000)
Put 'dry' before resize command - using dry for echo had no use.

WHATS_NEW
scripts/fsadm.sh

index a1c025a39b26812d69c349cfd847b18c3e4613d5..b080742f3353cd5a1415af8e735b89500bce8387 100644 (file)
--- 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.
index 642d32e71d68103cd306d4aeb3691062d6cfbe91..7449b3343a57185da11dec6d34cfc98e782a3deb 100644 (file)
@@ -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
This page took 0.046559 seconds and 5 git commands to generate.