From: Ian Jackson Date: Thu, 10 Sep 2009 15:44:58 +0000 (+0100) Subject: Do not crash if --upload-yarrg is specified but not --upload-pctb X-Git-Tag: 3.5^2~4 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=commitdiff_plain;h=7fc24d4453d01193d94bcd2b32313e1d4badb550 Do not crash if --upload-yarrg is specified but not --upload-pctb --- diff --git a/yarrg/database-info-fetch b/yarrg/database-info-fetch index 5e05760..0757726 100755 --- a/yarrg/database-info-fetch +++ b/yarrg/database-info-fetch @@ -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 {