mirror of
https://github.com/restic/restic.git
synced 2026-11-21 13:02:42 +00:00
fs: fall back to numeric ids when --ownership-by-name lookup fails (#22185)
Signed-off-by: Dean Chen <862469039@qq.com>
This commit is contained in:
1 parent
2126756613
commit
5cda063cbb
5 files changed
+89
-27
No files matched your search
@@ -38,7 +38,7 @@ func mknod(_ string, _ uint32, _ uint64) (err error) {
|
||||
}
|
||||
|
||||
// Windows doesn't need lchown
|
||||
func lchown(_ string, _ *data.Node, _ bool) (err error) {
|
||||
func lchown(_ string, _ *data.Node, _ bool, _ func(msg string)) (err error) {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user