fsSize() WLS fix windows
This commit is contained in:
parent
6f3c0d947b
commit
505395b522
@ -94,7 +94,7 @@ function fsSize(callback) {
|
||||
macOsDisks = [];
|
||||
}
|
||||
}
|
||||
if (_linux) { cmd = 'df -lkPTx squashfs | grep ^/'; }
|
||||
if (_linux) { cmd = 'df -lkPTx squashfs | grep -E "^/|^.\\:"'; }
|
||||
if (_freebsd || _openbsd || _netbsd) { cmd = 'df -lkPT'; }
|
||||
exec(cmd, function (error, stdout) {
|
||||
if (!error) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user