about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorrajdakin <rajdakin@gmail.com>2021-07-31 13:36:36 +0200
committerrajdakin <rajdakin@gmail.com>2021-07-31 13:36:36 +0200
commitf4ea86378ee9a9f3ee418069dc8d12a13813cb28 (patch)
treef81e95a539ebde7ee4d9b513ec7747d23e9b2970 /src
parent16011f4b3418314313d32bc6bec4cef188169ca7 (diff)
downloadbox64-f4ea86378ee9a9f3ee418069dc8d12a13813cb28.tar.gz
box64-f4ea86378ee9a9f3ee418069dc8d12a13813cb28.zip
Fixed minor issues
Diffstat (limited to 'src')
-rwxr-xr-xsrc/main.c9
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");