Only write output if in planning mode

This commit is contained in:
Pim van Pelt
2022-04-03 11:05:50 +00:00
parent 566efe3596
commit b67493003f

1
vppcfg
View File

@ -108,6 +108,7 @@ def main():
failed = True
logging.warning("Planning sync failure, continuing due to --force")
if args.command=="plan":
r.write(args.outfile, ok=not failed)
if failed: