master - pvresize: update message
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=1f5f8382ae09e3ba95486903cf86b29641a0023d Commit: 1f5f8382ae09e3ba95486903cf86b29641a0023d Parent: fb171edd4520a91012eb6ce6652c241609f5f761 Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Jun 5 23:09:55 2018 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Jun 8 14:36:59 2018 +0200
pvresize: update message
There is always at least PV header update even if the size of PV remains same (so it's not really resized). Try to make it a slightly less confusing.
--- tools/pvresize.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
tools/pvresize.c +1 -1
@@ -96,7 +96,7 @@ int pvresize(struct cmd_context *cmd, int argc, char **argv) ret =process_each_pv (cmd, argc, argv,NULL ,0 ,READ_FOR_UPDATE |READ_ALLOW_EXPORTED , handle, _pvresize_single); -log_print_unless_silent ("%d physical volume(s) resized / %d physical volume(s) " +log_print_unless_silent ("%d physical volume(s) resized or updated / %d physical volume(s) " "not resized" , params.done, params.total - params.done); out:destroy_processing_handle (cmd, handle);