Fix error message about trying to delete a file that does not exist. If it doesn't exist, ignore it.
This commit is contained in:
@@ -285,7 +285,7 @@ void Processor::ProcessLine(const CString& line, unsigned& nextLine)
|
|||||||
dirs.pop_back();
|
dirs.pop_back();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else if (DoesFileExist(path))
|
||||||
{
|
{
|
||||||
if (unlink(path))
|
if (unlink(path))
|
||||||
(*mError)("%s", strerror(errno));
|
(*mError)("%s", strerror(errno));
|
||||||
|
|||||||
Reference in New Issue
Block a user