summaryrefslogtreecommitdiff
path: root/src/cnode
diff options
context:
space:
mode:
Diffstat (limited to 'src/cnode')
-rw-r--r--src/cnode/cnode-algorithm.cpp2
1 files changed, 1 insertions, 1 deletions
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) {