Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #3875 from ethcore/config-fix
Browse files Browse the repository at this point in the history
Loading default config from default path
  • Loading branch information
gavofyork authored Dec 16, 2016
2 parents 45f141b + f345458 commit fa721f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parity/cli/usage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ macro_rules! usage {
}

let config_file = raw_args.flag_config.clone().unwrap_or_else(|| raw_args.clone().into_args(Config::default()).flag_config);
let config_file = replace_home("", &config_file);
let config_file = replace_home(&::dir::default_data_path(), &config_file);
let config = match (fs::File::open(&config_file), raw_args.flag_config.is_some()) {
// Load config file
(Ok(mut file), _) => {
Expand Down

0 comments on commit fa721f5

Please sign in to comment.