mirror of
https://github.com/sharkdp/fd.git
synced 2024-09-28 13:01:30 +02:00
Better error message
This commit is contained in:
parent
094516aec3
commit
af9d8082a1
@ -57,7 +57,7 @@ fn main() {
|
|||||||
|
|
||||||
let current_directory = Path::new(".");
|
let current_directory = Path::new(".");
|
||||||
if !filesystem::is_dir(current_directory) {
|
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
|
// Get the search pattern
|
||||||
|
Loading…
Reference in New Issue
Block a user