mirror of
https://github.com/Radarr/Radarr
synced 2026-02-13 10:12:17 +01:00
parent
a70fa0fcfe
commit
f93e136386
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ public bool FolderWritable(string path)
|
|||
try
|
||||
{
|
||||
var testPath = Path.Combine(path, "radarr_write_test.txt");
|
||||
var testContent = string.Format("This file was created to verify if '{0}' is writable. It should've been automatically deleted. Feel free to delete it.", path);
|
||||
var testContent = $"This file was created to verify if '{path}' is writable. It should've been automatically deleted. Feel free to delete it.";
|
||||
WriteAllText(testPath, testContent);
|
||||
File.Delete(testPath);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue