]> sourceware.org Git - lvm2.git/commitdiff
Fix assignment of default LVM variable
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 8 Oct 2010 14:49:25 +0000 (14:49 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 8 Oct 2010 14:49:25 +0000 (14:49 +0000)
Fix a typo which does not work in case LVM_BINARY is empty string.
Using proper :-  syntax.

WHATS_NEW
scripts/fsadm.sh

index 9f758a4af73f820414257e2ad20f9adfa1ea10e4..c0baadf5687d94e89929629de259794017797d6e 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.75 - 
 =====================================
+  Fix assignment of default value to LVM variable is fsadm.
   Fix support for --yes flag for fsadm.
   Do not execute lvresize with --dry-run option for fsadm.
   Fix fsadm return error code from user's break action.
index d10d88bea16e2bccaa4839b1b026dfed0dbfd086..8572c051898455998760d075fa0f2b7e1153296e 100644 (file)
@@ -49,7 +49,7 @@ FSCK=fsck
 XFS_CHECK=xfs_check
 
 # user may override lvm location by setting LVM_BINARY
-LVM=${LVM_BINARY-lvm}
+LVM=${LVM_BINARY:-lvm}
 
 YES=${_FSADM_YES}
 DRY=0
This page took 0.045443 seconds and 5 git commands to generate.