From 3eb19c4b7ae0b0b862a9cf92760922e4a524600a Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Mon, 8 Aug 2022 16:08:23 -0500 Subject: [PATCH] lvmdbusd: Remove addl. checks on --nojson We check earlier that if you specify --nojson we will exit. --- daemons/lvmdbusd/main.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/daemons/lvmdbusd/main.py b/daemons/lvmdbusd/main.py index 597441a9e..50b8e568f 100644 --- a/daemons/lvmdbusd/main.py +++ b/daemons/lvmdbusd/main.py @@ -132,20 +132,12 @@ def main(): # cmdhandler is for when we are running other code with a different main. cfg.blackbox = LvmFlightRecorder(cfg.args.bb_size) - if cfg.args.use_lvm_shell and not cfg.args.use_json: - log_error("You cannot specify --lvmshell and --nojson") - sys.exit(1) - log_debug("Using lvm binary: %s" % cfg.LVM_CMD) # We will dynamically add interfaces which support vdo if it # exists. cfg.vdo_support = supports_vdo() - if cfg.vdo_support and not cfg.args.use_json: - log_error("You cannot specify --nojson when lvm has VDO support") - sys.exit(1) - # List of threads that we start up thread_list = []