diff --git a/lib/current-env.js b/lib/current-env.js index f9d44f0..9babde1 100644 --- a/lib/current-env.js +++ b/lib/current-env.js @@ -19,7 +19,10 @@ function libc (osName) { return undefined } let family + const originalExclude = process.report.excludeNetwork + process.report.excludeNetwork = true const report = process.report.getReport() + process.report.excludeNetwork = originalExclude if (report.header?.glibcVersionRuntime) { family = 'glibc' } else if (Array.isArray(report.sharedObjects) && report.sharedObjects.some(isMusl)) {