]> git.saurik.com Git - redis.git/commitdiff
Advertise the existence of redis-check dump --fix when logging an error about corrupt...
authorantirez <antirez@gmail.com>
Tue, 14 Sep 2010 13:09:37 +0000 (15:09 +0200)
committerantirez <antirez@gmail.com>
Tue, 14 Sep 2010 13:09:37 +0000 (15:09 +0200)
src/aof.c

index 8f2dc96f3cd5a22ad0641b3593d5c03ea995d4ce..ce4cc1917ef1dd570792c2763b4aa60867cfef43 100644 (file)
--- a/src/aof.c
+++ b/src/aof.c
@@ -307,7 +307,7 @@ readerr:
     }
     exit(1);
 fmterr:
-    redisLog(REDIS_WARNING,"Bad file format reading the append only file");
+    redisLog(REDIS_WARNING,"Bad file format reading the append only file: make a backup of your AOF file, then use ./redis-check-dump --fix <filename>");
     exit(1);
 }