From 72d0243f10e4df7c2fb7ce35c3d7f333e83bab97 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 11 Feb 2020 16:11:07 +0100 Subject: T2026: use a unique exit code for config parse errors. --- src/cnode/cnode-algorithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cnode') diff --git a/src/cnode/cnode-algorithm.cpp b/src/cnode/cnode-algorithm.cpp index 7463534..bf3c524 100644 --- a/src/cnode/cnode-algorithm.cpp +++ b/src/cnode/cnode-algorithm.cpp @@ -964,7 +964,7 @@ cnode::showConfig(const string& cfg1, const string& cfg2, } if (!croot1.get() || !croot2.get()) { printf("Cannot parse specified config file(s)\n"); - return 1; + return VYOS_CONFIG_PARSE_ERROR; } if (show_cmds) { -- cgit v1.2.3