diff options
Diffstat (limited to 'Duplicati/Library/Snapshots/NoSnapshotWindows.cs')
-rw-r--r-- | Duplicati/Library/Snapshots/NoSnapshotWindows.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Duplicati/Library/Snapshots/NoSnapshotWindows.cs b/Duplicati/Library/Snapshots/NoSnapshotWindows.cs index e9c2bc734..00cb23c86 100644 --- a/Duplicati/Library/Snapshots/NoSnapshotWindows.cs +++ b/Duplicati/Library/Snapshots/NoSnapshotWindows.cs @@ -46,11 +46,11 @@ namespace Duplicati.Library.Snapshots /// <returns>The symlink target</returns>
public override string GetSymlinkTarget(string file)
{
- try { return File.GetLinkTargetInfo(SystemIOWindows.PrefixWithUNC(file)).PrintName; }
- catch (NotAReparsePointException) { }
- catch (UnrecognizedReparsePointException) { }
+ try { return File.GetLinkTargetInfo(SystemIOWindows.PrefixWithUNC(file)).PrintName; }
+ catch (NotAReparsePointException) { }
+ catch (UnrecognizedReparsePointException) { }
- return null;
+ return null;
}
/// <summary>
|