about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-03-03 15:15:56 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-03-03 15:15:56 +0100
commit2bd78e25fd992f0e1f4f98d1ab0c2027d60def7f (patch)
tree57dcb5dc93ff3e5b61bccc94dc34fccb52a8a06c
parentb1bd9c6810ec7e69e7c113d321c701466986bce3 (diff)
downloadbox64-2bd78e25fd992f0e1f4f98d1ab0c2027d60def7f.tar.gz
box64-2bd78e25fd992f0e1f4f98d1ab0c2027d60def7f.zip
Removed a debug trace
-rwxr-xr-xsrc/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 388fea7d..316c31af 100755
--- a/src/main.c
+++ b/src/main.c
@@ -1002,9 +1002,9 @@ int main(int argc, const char **argv, const char **env) {
     // allocate extra space for new environment variables such as BOX64_PATH
     my_context->envv = (char**)calloc(my_context->envc+4, sizeof(char*));
     GatherEnv(&my_context->envv, environ?environ:env, my_context->box64path);
-    if(box64_dump || 1) {
+    if(box64_dump) {
         for (int i=0; i<my_context->envc; ++i)
-            printf_dump(/*LOG_NEVER*/LOG_INFO, " Env[%02d]: %s\n", i, my_context->envv[i]);
+            printf_dump(LOG_NEVER, " Env[%02d]: %s\n", i, my_context->envv[i]);
     }
 
     path_collection_t ld_preload = {0};