summaryrefslogtreecommitdiff
path: root/src/cli_shell_api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli_shell_api.cpp')
-rw-r--r--src/cli_shell_api.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/cli_shell_api.cpp b/src/cli_shell_api.cpp
index 8fea74a..9678e5c 100644
--- a/src/cli_shell_api.cpp
+++ b/src/cli_shell_api.cpp
@@ -371,14 +371,7 @@ returnEffectiveValues(Cstore& cstore, const Cpath& args)
static void
validateTmplPath(Cstore& cstore, const Cpath& args)
{
- printf("validate:");
- Cpath p;
- for (size_t i = 0; i < args.size(); i++) {
- p.push(args[i]);
- printf(" [%s]", p[i]);
- }
- printf("\n");
- exit(cstore.validateTmplPath(p, false) ? 0 : 1);
+ exit(cstore.validateTmplPath(args, false) ? 0 : 1);
}
/* checks if specified path is a valid "template path", *including* the