mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-26 07:40:37 +01:00
Avoid program RTE if failing to remove temporary directory
git-svn-id: trunk@38816 -
This commit is contained in:
parent
3da67019e5
commit
ee1a5843aa
@ -397,7 +397,8 @@ begin
|
||||
end;
|
||||
TmpFileList.Free;
|
||||
ChDir(StartDir);
|
||||
RmDir(ADosBoxDir);
|
||||
if not RemoveDir(ADosBoxDir) then
|
||||
writeln('Failed to remove dir ',ADosBoxDir);
|
||||
end;
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user