mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
Merge pull request #7022 from cakebaker/rm_remove_outdated_comment
rm: remove outdated comment
This commit is contained in:
commit
954117fc95
1 changed files with 1 additions and 1 deletions
|
@ -524,7 +524,7 @@ fn prompt_file(path: &Path, options: &Options) -> bool {
|
|||
}
|
||||
}
|
||||
}
|
||||
// File::open(path) doesn't open the file in write mode so we need to use file options to open it in also write mode to check if it can written too
|
||||
|
||||
let Ok(metadata) = fs::metadata(path) else {
|
||||
return true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue