From: Don Armstrong Date: Mon, 18 Jun 2007 10:31:00 +0000 (+0100) Subject: only allow control to touch bugs in db-h, not archive X-Git-Tag: release/2.6.0~546^2~5 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1a34415de121828372a7687abbd2e19de85db0a3;p=debbugs.git only allow control to touch bugs in db-h, not archive --- diff --git a/scripts/service.in b/scripts/service.in index 74768f34..66629746 100755 --- a/scripts/service.in +++ b/scripts/service.in @@ -1525,7 +1525,8 @@ sub endmerge { sub getbug { &dlen("getbug $ref"); $lowstate eq 'idle' || die "$state ?"; - if (($data = &lockreadbug($ref))) { + # Only use unmerged bugs here + if (($data = &lockreadbug($ref,'db-h'))) { $sref= $ref; $lowstate= "open"; &dlex("getbug => 1");