Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
14 lines
788 B
Diff
14 lines
788 B
Diff
diff --git a/Platform/Unix/Process.cpp b/Platform/Unix/Process.cpp
|
|
index 395d4bc..18601ad 100644
|
|
--- a/Platform/Unix/Process.cpp
|
|
+++ b/Platform/Unix/Process.cpp
|
|
@@ -52,7 +52,7 @@ namespace VeraCrypt
|
|
#elif TC_OPENBSD
|
|
const char* defaultDirs[] = {"/sbin", "/bin", "/usr/sbin", "/usr/bin", "/usr/X11R6/bin", "/usr/local/sbin", "/usr/local/bin"};
|
|
#else
|
|
- const char* defaultDirs[] = {"/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin"};
|
|
+ const char* defaultDirs[] = {"/run/wrappers/bin", "/run/current-system/sw/bin", "/nix/var/nix/profiles/default/bin", "/etc/profiles/per-user/$USER", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin"};
|
|
#endif
|
|
const size_t defaultDirCount = sizeof(defaultDirs) / sizeof(defaultDirs[0]);
|
|
|