Merge release-5-0 into master
[alexxy/gromacs.git] / src / gromacs / utility / fatalerror.cpp
index a14a2a18337db775b2c4383f5fe1377a874c7590..179b91005e48762966a0dac588b517b63fd3c0eb 100644 (file)
@@ -91,7 +91,7 @@ void _where(const char *file, int line)
         if (bFirst) /* we repeat the check in the locked section because things
                        might have changed */
         {
-            if ((temp = getenv("WHERE")) != NULL)
+            if ((temp = getenv("GMX_PRINT_DEBUG_LINES")) != NULL)
             {
                 nskip = strtol(temp, NULL, 10);
             }