systeminformation 5.29.0 → 5.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/filesystem.js CHANGED
@@ -150,7 +150,7 @@ function fsSize(drive, callback) {
150
150
  }
151
151
  if (_linux) {
152
152
  try {
153
- cmd = 'export LC_ALL=C; df -lkPTx squashfs; unset LC_ALL';
153
+ cmd = 'export LC_ALL=C; df -kPTx squashfs; unset LC_ALL';
154
154
  execSync('cat /proc/mounts 2>/dev/null', util.execOptsLinux)
155
155
  .toString()
156
156
  .split('\n')
@@ -169,7 +169,7 @@ function fsSize(drive, callback) {
169
169
  }
170
170
  if (_freebsd || _openbsd || _netbsd) {
171
171
  try {
172
- cmd = 'df -lkPT';
172
+ cmd = 'df -kPT';
173
173
  execSync('mount')
174
174
  .toString()
175
175
  .split('\n')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.29.0",
3
+ "version": "5.29.1",
4
4
  "description": "Advanced, lightweight system and OS information library",
5
5
  "license": "MIT",
6
6
  "author": "Sebastian Hildebrandt <hildebrandt@plus-innovations.com> (https://plus-innovations.com)",