[Fusionforge-commits] r12443 - trunk/tests/lxc

Christian Bayle cbayle at fusionforge.org
Mon Feb 28 22:05:21 CET 2011


Author: cbayle
Date: 2011-02-28 22:05:20 +0100 (Mon, 28 Feb 2011)
New Revision: 12443

Modified:
   trunk/tests/lxc/Makefile
Log:
Don't make a dir that exists


Modified: trunk/tests/lxc/Makefile
===================================================================
--- trunk/tests/lxc/Makefile	2011-02-28 21:04:23 UTC (rev 12442)
+++ trunk/tests/lxc/Makefile	2011-02-28 21:05:20 UTC (rev 12443)
@@ -9,7 +9,7 @@
 	@echo "read the Makefile to see available targets"
 
 /cgroup: beroot
-	mkdir /cgroup
+	[ ! -d /cgroup ] || mkdir /cgroup
 
 checkmount: checkfstab /cgroup
 	grep -q 0 /cgroup/cpuset.cpu || mount /cgroup




More information about the Fusionforge-commits mailing list