1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-25 21:57:45 +03:00

lvmdbusd: Prevent running --nojson with VDO support

This commit is contained in:
Tony Asleson 2019-10-09 11:20:18 -05:00
parent 5b224d58f7
commit df2292020b

View File

@ -131,6 +131,10 @@ def main():
# 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 = []