summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2011-05-26 07:16:47 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2011-05-26 07:16:47 -0700
commitf3891573eb7db23c21c138fdc82e1319e3bdf3eb (patch)
tree7d86078ebe7a29562d1e5729a460667231ccc69c
parent34cc2dd72e5597e10576802d4723e1e51079a46e (diff)
downloadvyatta-cfg-f3891573eb7db23c21c138fdc82e1319e3bdf3eb.tar.gz
vyatta-cfg-f3891573eb7db23c21c138fdc82e1319e3bdf3eb.zip
remove unneeded stderr message
-rw-r--r--src/cli_shell_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli_shell_api.cpp b/src/cli_shell_api.cpp
index 0caccb9..18d3db7 100644
--- a/src/cli_shell_api.cpp
+++ b/src/cli_shell_api.cpp
@@ -480,7 +480,7 @@ _cf_process_args(Cstore& cstore, const Cpath& args, Cpath& path)
}
cnode::CfgNode *root = cparse::parse_file(args[0], cstore);
if (!root) {
- fprintf(stderr, "Failed to parse config file\n");
+ // failed to parse config file
exit(1);
}
return root;