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:
Steve Checkoway
2003-09-25 07:25:27 +00:00
parent b3debfe68e
commit dee1380803
+1 -1
View File
@@ -285,7 +285,7 @@ void Processor::ProcessLine(const CString& line, unsigned& nextLine)
dirs.pop_back();
}
}
else
else if (DoesFileExist(path))
{
if (unlink(path))
(*mError)("%s", strerror(errno));