Skip to content

Commit

Permalink
Fix storage alert
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Jul 7, 2024
1 parent 440fbe6 commit ccbb5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sudoutil.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ switch (cli.args.shift()) {
var m;
while (m = r.exec(df)) {
if (!m) return false;
if ((m[2] || '').startsWith('/boot')) return false;
if ((m[2] || '').startsWith('/boot')) continue;
let bytes_str = m[1];
if (bytes_str.match(/^\d+$/)) {
bytes_str += "B";
Expand Down

0 comments on commit ccbb5e2

Please sign in to comment.