Merge pull request #2526 from okoetter/feature/issue#2469
Fix restore for UNC backups
This commit is contained in:
@@ -171,7 +171,7 @@ namespace Duplicati.Library.Main.Database
|
||||
var oldlen = maxpath.Length;
|
||||
var lix = maxpath.LastIndexOf(dirsep, maxpath.Length - 2, StringComparison.Ordinal);
|
||||
maxpath = maxpath.Substring(0, lix + 1);
|
||||
if (string.IsNullOrWhiteSpace(maxpath) || maxpath.Length == oldlen)
|
||||
if (string.IsNullOrWhiteSpace(maxpath) || maxpath.Length == oldlen || maxpath == "\\\\")
|
||||
maxpath = "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user