aboutsummaryrefslogtreecommitdiffstats
path: root/modules/es_unix/es_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/es_unix/es_unix.cpp')
-rw-r--r--modules/es_unix/es_unix.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/es_unix/es_unix.cpp b/modules/es_unix/es_unix.cpp
index cb2ded840..d534db2ab 100644
--- a/modules/es_unix/es_unix.cpp
+++ b/modules/es_unix/es_unix.cpp
@@ -86,12 +86,7 @@ void Unix_EntropySource::do_slow_poll()
const u32bit TRY_TO_GET = 16 * 1024;
const u32bit MINIMAL_WORKING = 32;
- const std::string BASE_PATH = "/bin:/sbin:/usr/bin:/usr/sbin";
- const std::string EXTRA_PATH = global_config().option("rng/unix_path");
-
- std::string PATH = BASE_PATH;
- if(EXTRA_PATH != "")
- PATH += ':' + EXTRA_PATH;
+ const std::string PATH = global_config().option("rng/unix_path");
u32bit got = 0;
for(u32bit j = 0; j != sources.size(); j++)