From 458243212804af4c3af75b48786404867f0c0e61 Mon Sep 17 00:00:00 2001 From: runebaas Date: Thu, 31 Oct 2019 01:32:40 +0100 Subject: [PATCH] Fix default cookie path on unix systems --- src/utils/fortunes_reader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/fortunes_reader.rs b/src/utils/fortunes_reader.rs index 6a1bb37..c15e3fa 100644 --- a/src/utils/fortunes_reader.rs +++ b/src/utils/fortunes_reader.rs @@ -58,7 +58,7 @@ fn get_paths() -> Vec { #[cfg(unix)] fn get_paths() -> Vec { - own_vec(vec!["./fortunes", "./cookies", "/lib/share/games/fortunes"]) + own_vec(vec!["./fortunes", "./cookies", "/usr/share/games/fortunes"]) } pub struct Cookie {