From 967e2decd22cee4aa4426cfda5732860e1a085b3 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Mon, 21 Oct 2019 13:27:29 -0500 Subject: [PATCH] vgchange: remove bogus option restriction for -A with -a --- tools/vgchange.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/vgchange.c b/tools/vgchange.c index 479ddd632..a10bf1165 100644 --- a/tools/vgchange.c +++ b/tools/vgchange.c @@ -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"); -- 2.43.5