From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13829 invoked by alias); 14 Jun 2006 20:27:16 -0000 Received: (qmail 13815 invoked by uid 9447); 14 Jun 2006 20:27:16 -0000 Date: Wed, 14 Jun 2006 20:27:00 -0000 Message-ID: <20060614202716.13813.qmail@sourceware.org> From: agk@sourceware.org To: lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW tools/toollib.c Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00011.txt.bz2 List-Id: CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: agk@sourceware.org 2006-06-14 20:27:15 Modified files: . : WHATS_NEW tools : toollib.c Log message: Fix return code if VG specified on command line is not found. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.403&r2=1.404 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/toollib.c.diff?cvsroot=lvm2&r1=1.83&r2=1.84 --- LVM2/WHATS_NEW 2006/06/14 20:11:22 1.403 +++ LVM2/WHATS_NEW 2006/06/14 20:27:15 1.404 @@ -1,5 +1,6 @@ Version 2.02.07 - ================================= + Fix return code if VG specified on command line is not found. Fix PV tools to include orphaned PVs in default output again. Fixed unaligned access when using clvm. Fix an extra dev_close in a label_read error path. --- LVM2/tools/toollib.c 2006/05/11 18:39:24 1.83 +++ LVM2/tools/toollib.c 2006/06/14 20:27:15 1.84 @@ -413,7 +413,7 @@ if (!(vg = vg_read(cmd, vg_name, vgid, &consistent))) { log_error("Volume group \"%s\" not found", vg_name); unlock_vg(cmd, vg_name); - return ret_max; + return ECMD_FAILED; } if (!list_empty(tags)) {