From f4ea86378ee9a9f3ee418069dc8d12a13813cb28 Mon Sep 17 00:00:00 2001 From: rajdakin Date: Sat, 31 Jul 2021 13:36:36 +0200 Subject: Fixed minor issues --- src/main.c | 9 ++++++--- 1 file 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"); -- cgit 1.4.1