----- Forwarded message from [EMAIL PROTECTED] -----

Date: 14 Jun 2006 20:27:16 -0000
From: [EMAIL PROTECTED]
Subject: LVM2 ./WHATS_NEW tools/toollib.c
To: [EMAIL PROTECTED]

CVSROOT:        /cvs/lvm2
Module name:    LVM2
Changes by:     [EMAIL PROTECTED]       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)) {

----- End forwarded message -----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to