Browse Source

Fix del_pattern execution

git-svn-id: https://klish.googlecode.com/svn/trunk@460 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
Serj Kalichev 13 years ago
parent
commit
f6dc1793be
1 changed files with 2 additions and 0 deletions
  1. 2 0
      bin/konfd.c

+ 2 - 0
bin/konfd.c

@@ -372,6 +372,8 @@ static char * process_query(int sock, konf_tree_t * conf, char *str)
 				konf_query__get_priority(query),
 				konf_query__get_seq(query),
 				konf_query__get_seq_num(query));
+			if (exist < 0)
+				break;
 			if (exist > 0) {
 				ret = KONF_QUERY_OP_OK;
 				break;