Better error message

This commit is contained in:
sharkdp 2020-04-03 19:52:27 +02:00 committed by David Peter
parent 094516aec3
commit af9d8082a1
1 changed files with 1 additions and 1 deletions

View File

@ -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