From b9334fd78f87b0ecf5a223e3cdb2b46e0ac5d72b Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 1 Apr 2013 18:04:25 -0700 Subject: [PATCH] only remove the progress bar if $p is defined --- bin/debbugs-loadsql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2