1
0
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:
Alasdair Kergon 2006-07-19 18:55:58 +00:00
parent 7a21367d97
commit b813f533f8
2 changed files with 2 additions and 1 deletions

View File

@ -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
================================ ================================

View File

@ -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
;; ;;
*) *)