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 5e05760..0757726 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 {