Skip to content

Commit

Permalink
look in /usr/local/bin/ before /usr/local/sbin/
Browse files Browse the repository at this point in the history
according to [heir(7)](https://man.freebsd.org/cgi/hier) /sbin/ is for
binaries fundamental to single-user and multi-user environments, which
fdb is definitely not.
  • Loading branch information
dch committed Mar 5, 2021
1 parent 0eeca57 commit 9ebcc09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/erlfdb_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ find_fdbserver_bin(Options) ->
undefined ->
[
<<"/usr/sbin/fdbserver">>,
<<"/usr/local/bin/fdbserver">>,
<<"/usr/local/sbin/fdbserver">>,
<<"/usr/local/libexec/fdbserver">>
];
Expand Down

0 comments on commit 9ebcc09

Please sign in to comment.