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

Fix vgdisplay return code and exit status.

This commit is contained in:
Dave Wysochanski 2008-11-07 19:02:47 +00:00
parent b39e32266a
commit e7513be20c
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.43 -
===================================
Fix vgdisplay return code and exit status.
Move list.c into libdevmapper and rename functions.
Rename a couple of variables that matched function names.
Use simplified x.y.z version number in libdevmapper.pc.

View File

@ -98,8 +98,8 @@ int vgdisplay(struct cmd_context *cmd, int argc, char **argv)
}
**********/
process_each_vg(cmd, argc, argv, LCK_VG_READ, 0, NULL,
vgdisplay_single);
return process_each_vg(cmd, argc, argv, LCK_VG_READ, 0, NULL,
vgdisplay_single);
/******** FIXME Need to count number processed
Add this to process_each_vg if arg_count(cmd,activevolumegroups_ARG) ?
@ -112,6 +112,4 @@ int vgdisplay(struct cmd_context *cmd, int argc, char **argv)
return LVM_E_NO_VG;
}
************/
return ECMD_PROCESSED;
}