master - vgchange: remove bogus option restriction
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=967e2decd22cee4aa4426cfda5732860e1a085b3 Commit: 967e2decd22cee4aa4426cfda5732860e1a085b3 Parent: c08704cee7e34a96fdaa453faf900683283e8691 Author: David Teigland <[email protected]> AuthorDate: Mon Oct 21 13:27:29 2019 -0500 Committer: David Teigland <[email protected]> CommitterDate: Mon Oct 21 13:29:57 2019 -0500
vgchange: remove bogus option restriction
for -A with -a
--- tools/vgchange.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
tools/vgchange.c +0 -6
@@ -749,12 +749,6 @@ int vgchange(struct cmd_context *cmd, int argc, char **argv)return EINVALID_CMD_LINE ; } -if (arg_is_set (cmd, activate_ARG) && -arg_is_set (cmd, autobackup_ARG)) { -log_error ("-A option not necessary with -a option" ); -return EINVALID_CMD_LINE ; - } -if (arg_is_set (cmd, maxphysicalvolumes_ARG) &&arg_sign_value (cmd, maxphysicalvolumes_ARG,SIGN_NONE ) ==SIGN_MINUS ) {log_error ("MaxPhysicalVolumes may not be negative" );