diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f39306..74ff201 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -90,6 +90,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | ------- | ---------- | --------------------------------------------------------------------------------------------------- | +| 5.28.4 | 2025-12-29 | `powerShwll()` Windows 7 fix compatibility issues (windows) | | 5.28.3 | 2025-12-28 | `processes()`, `processLoad()` fix command line parsing (windows) | | 5.28.2 | 2025-12-27 | `networkConnections()` fix missing PIDs ss command (linux) | | 5.28.1 | 2025-12-26 | `networkInterface()` fix secondary and link-local ip (linux, macOS) | diff --git a/docs/history.html b/docs/history.html index 574a911..f13be69 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@ + + 5.28.4 + 2025-12-28 + powerShell() Windows 7 fix compatibility issues (windows) + 5.28.3 2025-12-28 diff --git a/docs/index.html b/docs/index.html index b9cce41..3c87d94 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.28.3
+
New Version: 5.28.4
diff --git a/lib/filesystem.js b/lib/filesystem.js index 67e8ece..9f6e673 100644 --- a/lib/filesystem.js +++ b/lib/filesystem.js @@ -194,11 +194,9 @@ function fsSize(drive, callback) { } resolve(data); } else { - exec('df -kPT', { maxBuffer: 1024 * 1024 }, (error, stdout) => { - if (!error) { - const lines = filterLines(stdout); - data = parseDf(lines); - } + exec('df -kPT 2>/dev/null', { maxBuffer: 1024 * 1024 }, (error, stdout) => { + const lines = filterLines(stdout); + data = parseDf(lines); if (callback) { callback(data); }