git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
34d4a27
)
Use filesystem::remove instead of filesystem::remove_all.
author
CryptoManiac
<balthazar.ad@gmail.com>
Fri, 8 Apr 2016 17:23:55 +0000 (20:23 +0300)
committer
CryptoManiac
<balthazar.ad@gmail.com>
Fri, 8 Apr 2016 17:23:55 +0000 (20:23 +0300)
src/init.cpp
patch
|
blob
|
history
diff --git
a/src/init.cpp
b/src/init.cpp
index
90fcb99
..
50a79ac
100644
(file)
--- a/
src/init.cpp
+++ b/
src/init.cpp
@@
-327,7
+327,7
@@
bool DropBlockIndex()
filesystem::remove_all(directory); // remove directory
#else
filesystem::path indexFile = GetDataDir() / "blkindex.dat";
- filesystem::remove_all(indexFile); // remove directory
+ filesystem::remove(indexFile); // remove index file
#endif
unsigned int nFile = 1;