Only write output if in planning mode
This commit is contained in:
1
vppcfg
1
vppcfg
@ -108,6 +108,7 @@ def main():
|
|||||||
failed = True
|
failed = True
|
||||||
logging.warning("Planning sync failure, continuing due to --force")
|
logging.warning("Planning sync failure, continuing due to --force")
|
||||||
|
|
||||||
|
if args.command=="plan":
|
||||||
r.write(args.outfile, ok=not failed)
|
r.write(args.outfile, ok=not failed)
|
||||||
|
|
||||||
if failed:
|
if failed:
|
||||||
|
Reference in New Issue
Block a user