1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-08 17:05:25 +02:00

Use _rmdir instead of _unlink

refs 
This commit is contained in:
Gunnar Beutner 2016-04-14 14:39:48 +02:00
parent 0d39c7361d
commit e4615e8d09

@ -218,7 +218,7 @@ static int UpgradeNSIS(void)
if (!MoveDirectory(oldNameVar, newNameVar))
return 1;
_unlink(installPath.c_str());
_rmdir(installPath.c_str());
}
return 0;