From 03db768830b0b122f3008909cae649d2862133ed Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Fri, 27 Oct 2017 18:26:55 +0300 Subject: [PATCH] mdbx-bench: rename log-file instead of remove it in case of error. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0e9adf58..94162a71 100644 --- a/Makefile +++ b/Makefile @@ -125,7 +125,7 @@ bench-$(1).txt: $(3) $(IOARENA) Makefile LD_LIBRARY_PATH="./:$$$${LD_LIBRARY_PATH}" \ $(IOARENA) -D $(1) -B get,iterate -m sync -r 4 -n $(2) \ | tee -a $$@ | grep throughput \ - || rm -f $$@ + || mv -f $$@ $$@.error endef