summaryrefslogtreecommitdiff
path: root/lib/json.h
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-27 15:56:36 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-27 15:56:36 +0000
commit276887bb1c2961fa37b42ce7160346f1417577a8 (patch)
tree245841af101361419a93a7443d71a72dbc29dc80 /lib/json.h
parent0cf74a83920687f3c8be84a8c7d796acf2cb6e95 (diff)
tools: quagga-reload should raise Exception instead of exiting
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> NCLU imports quagga-reload.py and uses its Config class to parse Quagga.conf. The Config class will call 'vtysh -m -f Quagga.conf" and if that exited with an error Config would call sys.exit(1) which in my cases causes the NCLU daemon to exit which is bad. The fix is to have the Config class raise an exception instead of exiting, then NCLU can catch the exception, log it and move on.
Diffstat (limited to 'lib/json.h')
0 files changed, 0 insertions, 0 deletions