mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Fix clvmd_init_rhel4 'status' exit code.
This commit is contained in:
parent
7a21367d97
commit
b813f533f8
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.08 -
|
Version 2.02.08 -
|
||||||
================================
|
================================
|
||||||
|
Fix clvmd_init_rhel4 'status' exit code.
|
||||||
|
|
||||||
Version 2.02.07 - 17th July 2006
|
Version 2.02.07 - 17th July 2006
|
||||||
================================
|
================================
|
||||||
|
@ -119,9 +119,9 @@ case "$1" in
|
|||||||
|
|
||||||
status)
|
status)
|
||||||
status clvmd
|
status clvmd
|
||||||
|
rtrn=$?
|
||||||
vols=$( $LVDISPLAY -C --nohead 2> /dev/null | awk '($3 ~ /....a./) {print $1}' )
|
vols=$( $LVDISPLAY -C --nohead 2> /dev/null | awk '($3 ~ /....a./) {print $1}' )
|
||||||
echo active volumes: ${vols:-"(none)"}
|
echo active volumes: ${vols:-"(none)"}
|
||||||
rtrn=0
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user