- if -datadir= is no directory don't return an empty path, but instead create / use the default data dir
- check for existance of the final datadir, before trying to create it
This should fix #1950.
- if -datadir= is no directory don't return an empty path, but instead
create / use the default data dir
- check for existance of the final datadir, before trying to create it
If a -datadir is specified and there's a problem with it, you want to get an error, not a default.
Well that is indeed also true but just leads to the command-line parsing discussion and silent errors. Perhaps I missunderstood what is causing the crash ... it was bitcoind and seems to be caused by the Shutdown() call. I guess there is no need for this patch then ^^, sorry.