1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

du: comment alignment fix

This commit is contained in:
Maciej Habasiński 2023-03-26 13:15:48 +02:00 committed by GitHub
parent 892f1d910a
commit ef9b974c41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -913,8 +913,8 @@ impl FromStr for Threshold {
let size = parse_size(&s[offset..])?;
if s.starts_with('-') {
// Threshold of '-0' excludes everything besides 0 sized entries
// GNU's du threats '-0' as an invalid argument
// Threshold of '-0' excludes everything besides 0 sized entries
// GNU's du threats '-0' as an invalid argument
if size == 0 {
return Err(ParseSizeError::ParseFailure(s.to_string()));
}