]> git.donarmstrong.com Git - debbugs.git/blobdiff - scripts/service
* Add missing defined value test for block in service
[debbugs.git] / scripts / service
index 30b411e78bbf13bc1c659ae9f20f83ab0d8ceda6..839d708cccfe14f4554206848d6ec71db009b376 100755 (executable)
@@ -883,7 +883,7 @@ END
        $ok++;
        my $bugnum = $2; my $blockers = $4;
        my $addsub = "add";
-       $addsub = "sub" if ($1 eq "un");
+       $addsub = "sub" if (defined $1 and $1 eq "un");
        if ($bugnum =~ m/^-\d+$/ && defined $clonebugs{$bugnum}) {
             $bugnum = $clonebugs{$bugnum};
        }