1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

Minor shell style cleanup.

This commit is contained in:
Petr Rockai 2010-06-28 19:13:33 +00:00
parent 0da9500f13
commit eddb91d1e7

View File

@ -2,9 +2,9 @@
log_name_to_count()
{
if [ $1 == "mirrored" ]; then
if [ "$1" = "mirrored" ]; then
echo 2
elif [ $1 == "disk" ]; then
elif [ "$1" = "disk" ]; then
echo 1
else
echo 0
@ -44,8 +44,8 @@ test_lvconvert()
local active=true
local i
if [ $start_log_type == "disk" ] &&
[ $finish_log_type == "mirrored" ]; then
if [ "$start_log_type" = "disk" ] &&
[ "$finish_log_type" = "mirrored" ]; then
echo "FIXME: disk -> mirrored log conversion not yet supported by LVM"
return 0
fi