Add an additional fortune file lookup path for unix systems (so it works on arch linux)
This commit is contained in:
parent
b0d889ce37
commit
f88979e95a
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ fn get_paths() -> Vec<String> {
|
|||
|
||||
#[cfg(unix)]
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue