2 Commits ac34674735 ... 06f9c7c4e1

Author SHA1 Message Date
  Christoph Stelz 06f9c7c4e1 Disable ipc-debug globally if IPC_DEBUG_FILE env var not present 3 months ago
  Christoph Stelz ac34674735 Disable ipc-debug globally if IPC_DEBUG_FILE env var not present 3 months ago
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ipc_debug.cpp

+ 1 - 1
src/ipc_debug.cpp

@@ -36,7 +36,7 @@ void print_backtrace();
 void debug_ipc_init() {
     const char *root_env = std::getenv("IPC_DEBUG_ROOT");
     const char *file_env = std::getenv("IPC_DEBUG_FILE");
-    debug_ipc_disabled = root_env == nullptr;
+    debug_ipc_disabled = file_env == nullptr;
 
     int mpi_initialized;
     MPI_Initialized(&mpi_initialized);