mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
MDEV-13106 : Fix check for empty directory in MSI installer
This commit is contained in:
parent
b9a326b6e1
commit
472c2d9b2f
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ extern "C" UINT __stdcall CheckDirectoryEmpty(MSIHANDLE hInstall,
|
|||
empty= true;
|
||||
for(;;)
|
||||
{
|
||||
if (wcscmp(data.cFileName, L".") || wcscmp(data.cFileName, L".."))
|
||||
if (wcscmp(data.cFileName, L".") && wcscmp(data.cFileName, L".."))
|
||||
{
|
||||
empty= false;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue