Denio
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
7 additions and
7 deletions
-
cli/src/lib.rs
-
lib/src/lightclient.rs
-
lib/src/lightwallet/startup_helpers.rs
-
lib/src/startup_helpers.rs
|
|
@ -75,11 +75,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); |
|
|
|
} |
|
|
|
|
|
@ -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); |
|
|
|
} |
|
|
|