Avoid program RTE if failing to remove temporary directory

git-svn-id: trunk@38816 -
This commit is contained in:
pierre 2018-04-22 22:18:27 +00:00
parent 3da67019e5
commit ee1a5843aa

View File

@ -397,7 +397,8 @@ begin
end;
TmpFileList.Free;
ChDir(StartDir);
RmDir(ADosBoxDir);
if not RemoveDir(ADosBoxDir) then
writeln('Failed to remove dir ',ADosBoxDir);
end;