Browse Source

Fix dynamic var expansion

git-svn-id: https://klish.googlecode.com/svn/trunk@477 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
Serj Kalichev 13 years ago
parent
commit
7ca6f76f66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      clish/shell/shell_var.c

+ 1 - 1
clish/shell/shell_var.c

@@ -121,7 +121,7 @@ static char *find_var(const char *name, lub_bintree_t *tree, clish_context_t *co
 		script = clish_action__get_script(action);
 		if (script) {
 			char *out = NULL;
-			if (!clish_shell_exec_action(action, context, &out)) {
+			if (clish_shell_exec_action(action, context, &out)) {
 				lub_string_free(out);
 				return NULL;
 			}