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

Christian Bayle cbayle at fusionforge.org
Thu Mar 10 17:12:51 CET 2011


Author: cbayle
Date: 2011-03-10 17:12:51 +0100 (Thu, 10 Mar 2011)
New Revision: 12650

Modified:
   trunk/tests/lxc/lxc-debian6.postinst
Log:
revert bad test


Modified: trunk/tests/lxc/lxc-debian6.postinst
===================================================================
--- trunk/tests/lxc/lxc-debian6.postinst	2011-03-10 16:12:40 UTC (rev 12649)
+++ trunk/tests/lxc/lxc-debian6.postinst	2011-03-10 16:12:51 UTC (rev 12650)
@@ -53,7 +53,7 @@
 	then
 		exit 1
 	else
-		[ -d $rootfs/etc/ssh ] || mkdir -p $rootfs/etc/ssh
+		[ ! -d $rootfs/etc/ssh ] || mkdir -p $rootfs/etc/ssh
 		if [ -e $hostkeydir ]
 		then 
 			if [ ! -d $hostkeydir/$name ]




More information about the Fusionforge-commits mailing list