Skip to content

Commit

Permalink
Update getLargestDisk.ts
Browse files Browse the repository at this point in the history
adds a log message when the disk it too small, fixes EpicsDAO#90 by giving the users a warning
  • Loading branch information
fbettag committed Apr 19, 2024
1 parent 06b9b9a commit 9534c4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/solv/src/cli/check/mt/getLargestDisk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ function getPreferredDisks(): GetPreferredDisksResult {
isMounted,
hasPartition,
})
} else {
console.log(`Ignoring disk ${name} because it is too small`)
}
}

Expand Down

0 comments on commit 9534c4e

Please sign in to comment.