mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-17 09:28:25 +01:00
Better error message
This commit is contained in:
parent
094516aec3
commit
af9d8082a1
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ fn main() {
|
|||
|
||||
let current_directory = Path::new(".");
|
||||
if !filesystem::is_dir(current_directory) {
|
||||
print_error_and_exit!("Could not get current directory.");
|
||||
print_error_and_exit!("Could not retrieve current directory (has it been deleted?).");
|
||||
}
|
||||
|
||||
// Get the search pattern
|
||||
|
|
Loading…
Reference in a new issue