diff options
| author | rajdakin <rajdakin@gmail.com> | 2021-07-31 13:36:36 +0200 |
|---|---|---|
| committer | rajdakin <rajdakin@gmail.com> | 2021-07-31 13:36:36 +0200 |
| commit | f4ea86378ee9a9f3ee418069dc8d12a13813cb28 (patch) | |
| tree | f81e95a539ebde7ee4d9b513ec7747d23e9b2970 /src | |
| parent | 16011f4b3418314313d32bc6bec4cef188169ca7 (diff) | |
| download | box64-f4ea86378ee9a9f3ee418069dc8d12a13813cb28.tar.gz box64-f4ea86378ee9a9f3ee418069dc8d12a13813cb28.zip | |
Fixed minor issues
Diffstat (limited to 'src')
| -rwxr-xr-x | src/main.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c index d504b2a0..68e63fc1 100755 --- a/src/main.c +++ b/src/main.c @@ -509,20 +509,23 @@ void LoadEnvVars(box64context_t *context) } } if(getenv("BOX64_PREFER_WRAPPED")) { - if (strcmp(getenv("BOX64_PREFER_WRAPPED"), "1")==0) + if (strcmp(getenv("BOX64_PREFER_WRAPPED"), "1")==0) { box64_prefer_wrapped = 1; printf_log(LOG_INFO, "BOX64: Prefer Wrapped libs\n"); + } } if(getenv("BOX64_NOSIGSEGV")) { - if (strcmp(getenv("BOX64_NOSIGSEGV"), "1")==0) + if (strcmp(getenv("BOX64_NOSIGSEGV"), "1")==0) { context->no_sigsegv = 1; printf_log(LOG_INFO, "BOX64: Disabling handling of SigSEGV\n"); + } } if(getenv("BOX64_NOSIGILL")) { - if (strcmp(getenv("BOX64_NOSIGILL"), "1")==0) + if (strcmp(getenv("BOX64_NOSIGILL"), "1")==0) { context->no_sigill = 1; printf_log(LOG_INFO, "BOX64: Disabling handling of SigILL\n"); + } } // check BOX64_PATH and load it LoadEnvPath(&context->box64_path, ".:bin", "BOX64_PATH"); |