Unverified Commit 9e5b8862 authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

bugfix: preload library fail with bash executable

parent 4cdc6b73
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ namespace gkfs {
using namespace std;

string get_env(const string& env_name) {
    char* env_value = getenv(env_name.c_str());
    char* env_value = secure_getenv(env_name.c_str());
    if (env_value == nullptr) {
        throw runtime_error("Environment variable not set: " + env_name);
    }