fix
This commit is contained in:
@@ -103,7 +103,7 @@ impl LightClientConfig {
|
||||
zcash_data_location.push("silentdragonlite");
|
||||
} else {
|
||||
zcash_data_location = dirs::home_dir().expect("Couldn't determine home directory!");
|
||||
zcash_data_location.push("/.silentdragonlite/");
|
||||
zcash_data_location.push("silentdragonlite/");
|
||||
};
|
||||
|
||||
match &self.chain_name[..] {
|
||||
|
||||
@@ -9,11 +9,11 @@ pub fn report_permission_error() {
|
||||
eprintln!("HOME: {}", home);
|
||||
eprintln!("Executable: {}", current_executable.display());
|
||||
if home == "/" {
|
||||
eprintln!("User {} must have permission to write to '{}.silentdragonlite/' .",
|
||||
eprintln!("User {} must have permission to write to '{}silentdragonlite/' .",
|
||||
user,
|
||||
home);
|
||||
} else {
|
||||
eprintln!("User {} must have permission to write to '{}/.silentdragonlite/ .",
|
||||
eprintln!("User {} must have permission to write to '{}/silentdragonlite/ .",
|
||||
user,
|
||||
home);
|
||||
}
|
||||
|
||||
@@ -9,11 +9,11 @@ pub fn report_permission_error() {
|
||||
eprintln!("HOME: {}", home);
|
||||
eprintln!("Executable: {}", current_executable.display());
|
||||
if home == "/" {
|
||||
eprintln!("User {} must have permission to write to '{}.silentdragonlite/' .",
|
||||
eprintln!("User {} must have permission to write to '{}silentdragonlite/' .",
|
||||
user,
|
||||
home);
|
||||
} else {
|
||||
eprintln!("User {} must have permission to write to '{}/.silentdragonlite/ .",
|
||||
eprintln!("User {} must have permission to write to '{}/silentdragonlite/ .",
|
||||
user,
|
||||
home);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user