4
0
Эх сурвалжийг харах

Fix broken error check in commit 1818.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1836 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 17 жил өмнө
parent
commit
1c52564bbd
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      exec/totemsrp.c

+ 1 - 1
exec/totemsrp.c

@@ -722,7 +722,7 @@ int totemsrp_initialize (
 	}
 	
 	res = mkdir (rundir, 0700);
-	if (res == -1) {
+	if (res == -1 && errno != EEXIST) {
 		goto error_put;
 	}