Skip to content
Snippets Groups Projects
Unverified Commit 5ed993d7 authored by van Hauser's avatar van Hauser Committed by GitHub
Browse files

Merge pull request #1440 from rhtenhove/dev

require value in env variables
parents 5d5d1f70 0c3ba7d2
No related branches found
No related tags found
No related merge requests found
...@@ -715,17 +715,23 @@ char *get_afl_env(char *env) { ...@@ -715,17 +715,23 @@ char *get_afl_env(char *env) {
char *val; char *val;
if ((val = getenv(env)) != NULL) { if ((val = getenv(env))) {
if (!be_quiet) { if (*val) {
if (!be_quiet) {
OKF("Enabled environment variable %s with value %s", env, val);
}
OKF("Loaded environment variable %s with value %s", env, val); return val;
} }
} }
return val; return NULL;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment