installable: Reword $HOME error

This commit is contained in:
Fabian Boehm 2024-12-18 17:26:25 +01:00
parent 80d53b129f
commit f89e26b06e

View file

@ -97,7 +97,7 @@ fn install(confirm: bool) -> bool {
use std::io::Write;
use std::io::{stderr, stdin};
let Some(home) = fish::env::get_home() else {
eprintln!("Can't find $HOME",);
FLOG!(error, "Can't find home directory.");
return false;
};
let dir = PathBuf::from(home).join(DATA_DIR).join(DATA_DIR_SUBDIR);