Add an additional fortune file lookup path for unix systems (so it works on arch linux)

This commit is contained in:
runebaas 2019-11-01 13:28:47 +01:00
parent b0d889ce37
commit f88979e95a
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6

View file

@ -51,7 +51,7 @@ fn get_paths() -> Vec<String> {
#[cfg(unix)] #[cfg(unix)]
fn get_paths() -> Vec<String> { fn get_paths() -> Vec<String> {
own_vec(vec!["./fortunes", "./cookies", "/usr/share/games/fortunes"]) own_vec(vec!["./fortunes", "/usr/share/fortune", "/usr/share/games/fortunes"])
} }
pub struct Cookie { pub struct Cookie {