From: Don Armstrong Date: Tue, 2 Apr 2013 01:04:25 +0000 (-0700) Subject: only remove the progress bar if $p is defined X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=11febd5438891736eb2c4ec16e9c9757548864c7;p=debbugs.git only remove the progress bar if $p is defined --- diff --git a/bin/debbugs-loadsql b/bin/debbugs-loadsql index fb0dd24..950bfe7 100755 --- a/bin/debbugs-loadsql +++ b/bin/debbugs-loadsql @@ -215,7 +215,7 @@ while (my $dir = shift @dirs) { } } } -$p->remove(); +$p->remove() if $p; handle_load_bug_queue(db => $schema, queue => \%queue);