Defaulted hardlink to false again after an internal debate regarding some Windows peculiarities.

pull/2/head
Taloth Saldono 10 years ago
parent ebb2b12400
commit aa36c04d56

@ -214,7 +214,7 @@ namespace NzbDrone.Core.Configuration
public Boolean CopyUsingHardlinks
{
get { return GetValueBoolean("CopyUsingHardlinks", true); }
get { return GetValueBoolean("CopyUsingHardlinks", false); }
set { SetValue("CopyUsingHardlinks", value); }
}

@ -160,8 +160,9 @@ namespace NzbDrone.Mono
UnixFileSystemInfo.GetFileSystemEntry(source).CreateLink(destination);
return true;
}
catch
catch (Exception ex)
{
Logger.DebugException(String.Format("Hardlink '{0}' to '{1}' failed.", source, destination), ex);
return false;
}
}

@ -110,8 +110,9 @@ namespace NzbDrone.Windows
{
return CreateHardLink(destination, source, IntPtr.Zero);
}
catch
catch (Exception ex)
{
Logger.DebugException(String.Format("Hardlink '{0}' to '{1}' failed.", source, destination), ex);
return false;
}
}

@ -70,8 +70,8 @@
</label>
<span class="help-inline-checkbox">
<i class="icon-nd-form-info" title="Use Hardlinks when trying to copy files from seeding torrents"/>
<i class="icon-nd-form-warning" title="Occasionally, file locks may prevent renaming files that are currently seeding. Temporarily disable seeding while using the Rename UI to rename existing episodes to work around it."/>
<i class="icon-nd-form-info" title="Use Hardlinks when trying to copy files from torrents that are still being seeded"/>
<i class="icon-nd-form-warning" title="Occasionally, file locks may prevent renaming files that are being seeded. You may temporarily disable seeding and use Sonarr's rename function as a work around."/>
</span>
</div>
</div>

Loading…
Cancel
Save