aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-18 12:40:25 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-18 12:40:25 +0200
commit72d6d546a09d865caf43a164e928f8be58c4cadb (patch)
treedad855f8a5ed2dd2f570c309169f9144e41a1f06
parente5b6e24a621694aa51f8f9301886bd2ccc24be05 (diff)
Reword error message
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 883e2df..977627d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -180,7 +180,7 @@ fn work() -> Result<(), io::Error> {
Ok(s) => PathBuf::from(s),
_ => [
&env::var("HOME").unwrap_or_else(|_| {
- err!("XDG_CACHE_HOME or HOME variable must be set");
+ err!("One of the XDG_CACHE_HOME or HOME variables must be set");
}),
".cache",
]