Fix default cookie path on unix systems

This commit is contained in:
runebaas 2019-10-31 01:32:40 +01:00
parent c1041d2096
commit 4582432128
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6

View file

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