Skip to content

Commit

Permalink
fix: Fix media backup bug (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
FiberStudio authored Aug 5, 2024
1 parent 4acb5ee commit 6c11e12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class MediumBackupUtil @Inject constructor(
exclusionList = listOf(),
h = if (context.readFollowSymlinks().first()) "-h" else "",
srcDir = srcDir,
src = name,
src = PathUtil.getFileName(src),// the name is not always the actual file name of the source,but the src does contain
dst = dst,
extra = ct.compressPara
).also { result ->
Expand Down

0 comments on commit 6c11e12

Please sign in to comment.