Revision
1005
Author
mww@apple.com
Date
2012-02-03 01:36:43 -0800 (Fri, 03 Feb 2012)

Log Message

All the other EEXIST checks should have been a hint, no?

Modified Paths

Diff

Modified: branches/PR-9697169/darwinup/Depot.cpp (1004 => 1005)


--- branches/PR-9697169/darwinup/Depot.cpp	2012-02-03 09:33:41 UTC (rev 1004)
+++ branches/PR-9697169/darwinup/Depot.cpp	2012-02-03 09:36:43 UTC (rev 1005)
@@ -120,7 +120,7 @@
 	}
 	
 	int res = mkdir(m_depot_path, m_depot_mode);
-	if (res) {
+	if (res && errno != EEXIST) {
 		perror(m_depot_path);
 		return res;
 	}