Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre committed Jan 9, 2024
1 parent d3ff95b commit 36553da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/uu/ls/src/ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

// spell-checker:ignore (ToDO) somegroup nlink tabsize dired subdired dtype colorterm
// spell-checker:ignore (ToDO) somegroup nlink tabsize dired subdired dtype colorterm getxattr

use clap::{
builder::{NonEmptyStringValueParser, ValueParser},
Expand Down Expand Up @@ -2627,12 +2627,12 @@ fn file_has_acl_cache<P: AsRef<Path>>(file: P) -> bool {
match xattr::list(file) {
Ok(acl) => {
// no extra perms
return acl.count() > 0;
acl.count() > 0
}
Err(_) => return false,
Err(_) => false,
}
#[cfg(not(unix))]
return false;
false
}

/// This writes to the BufWriter out a single string of the output of `ls -l`.
Expand Down

0 comments on commit 36553da

Please sign in to comment.