chiark / gitweb /
Do not crash if --upload-yarrg is specified but not --upload-pctb
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 10 Sep 2009 15:44:58 +0000 (16:44 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 10 Sep 2009 15:44:58 +0000 (16:44 +0100)
yarrg/database-info-fetch

index 5e0576095a0b23ac7aa837a1d91ff72132f0c3c2..07577260a178a1cac2716bc3e5aef2ef9f06342b 100755 (executable)
@@ -168,7 +168,7 @@ sub main__island () {
     my $ocean= get_ocean();
     
     parse_info_clientside();
-    get_arches_islands_pctb($ocean);
+    get_arches_islands_pctb($ocean) if $pctb;
 
     for_islands($ocean,
                sub {