diff --git a/lib/filesystem.js b/lib/filesystem.js index 291918c..e883d25 100755 --- a/lib/filesystem.js +++ b/lib/filesystem.js @@ -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) {