Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
args: Properly support -noconf and catch directories
peek() in order to catch directories being specified instead of configuration files. Previously passing a directory path as -conf would lead to an ifstream being opened for it, and would not trigger any errors. -noconf would previously lead to an ifstream "successfully" being opened to the ".bitcoin"-directory (not a file)). With the change to AbsPathForConfigVal we will now try to open the marginally more correct absolute path "". Other users of AbsPathForConfigVal() have been updated to handle negation in 2 prior commits.
- Loading branch information