mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-03 08:13:18 +02:00
Return STATUS_DIRECTORY_NOT_EMPTY when trying to delete a folder that is not empty
This commit is contained in:
parent
353460a976
commit
bb0cff643a
4 changed files with 9 additions and 1 deletions
|
@ -100,7 +100,7 @@ namespace SMBServer
|
|||
}
|
||||
else if (Directory.Exists(fullPath))
|
||||
{
|
||||
Directory.Delete(fullPath, true);
|
||||
Directory.Delete(fullPath, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue