From dee1380803723a47d8d6ea87e69e0039a3617879 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Thu, 25 Sep 2003 07:25:27 +0000 Subject: [PATCH] Fix error message about trying to delete a file that does not exist. If it doesn't exist, ignore it. --- stepmania/PBProject/Installer/Processor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/PBProject/Installer/Processor.cpp b/stepmania/PBProject/Installer/Processor.cpp index 49dd8c531c..69c5733f2a 100644 --- a/stepmania/PBProject/Installer/Processor.cpp +++ b/stepmania/PBProject/Installer/Processor.cpp @@ -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));