dont define the repo if unexistent on the myplc (like when you just installed myplc...
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 4 Jul 2008 00:06:06 +0000 (00:06 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 4 Jul 2008 00:06:06 +0000 (00:06 +0000)
PlanetLabConf/myplc.repo.php

index b0d2960..29c57ed 100644 (file)
@@ -84,6 +84,8 @@ if ( ! $repo) {
 if ( ! $repo) {
   echo "# WARNING: could not find a decent planetlab repo for this node\n";
   $repo = array ($pldistro, "planetlab", "default probably wrong");
+  # don't define the repo in this case
+  exit;
  }
 
 list( $id, $dir, $name) = $repo;