diff options
| author | zhengchao <[email protected]> | 2018-12-28 16:43:55 +0600 |
|---|---|---|
| committer | zhengchao <[email protected]> | 2018-12-28 16:43:55 +0600 |
| commit | af262502e988a6e4f6d7fe26148a2629eda4fef1 (patch) | |
| tree | 7eb9a6011e487c7baf594a309f15498dd4150a97 /tools | |
| parent | 6b42c711b3ea5d0a4cd9b6e18314ea0d61fa24ef (diff) | |
maat_redis_tool在取不到key时正常退出。
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/maat_redis_tool.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/maat_redis_tool.cpp b/tools/maat_redis_tool.cpp index 0607250..60a648d 100644 --- a/tools/maat_redis_tool.cpp +++ b/tools/maat_redis_tool.cpp @@ -51,7 +51,6 @@ void read_rule_from_redis(redisContext * ctx, long long desire_version, const ch char table_path[256],index_path[256]; FILE *table_fp=NULL, *index_fp=NULL; rule_num=get_rm_key_list(ctx, 0, desire_version, &version, &rule_list, &update_type, logger,0); - if(desire_version!=0) if(rule_num==0) { if(desire_version!=0) |
