mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 10:50:14 +01:00
core: search in /usr/local before system paths for the dnsmasq binary
When looking for the dnsmasq (or any) binary, NetworkManager should check /usr/local before it checks any system installed version. This allows the user to replace the binary with a newer version should they desire and is more consistent with the search behaviour commonly found in $PATH. https://github.com/NetworkManager/NetworkManager/pull/10
This commit is contained in:
parent
f605262792
commit
05e66d5202
1 changed files with 2 additions and 2 deletions
|
|
@ -1152,12 +1152,12 @@ nm_utils_kill_process_sync (pid_t pid, guint64 start_time, int sig, NMLogDomain
|
|||
const char *const NM_PATHS_DEFAULT[] = {
|
||||
PREFIX "/sbin/",
|
||||
PREFIX "/bin/",
|
||||
"/usr/local/sbin/",
|
||||
"/sbin/",
|
||||
"/usr/sbin/",
|
||||
"/usr/local/sbin/",
|
||||
"/usr/local/bin/",
|
||||
"/bin/",
|
||||
"/usr/bin/",
|
||||
"/usr/local/bin/",
|
||||
NULL,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue