Fix the sanity check on number of query/verify sources (RhBug:691930)

- Prior to commit 2e672f3fae, the
  callback would get called twice for every option so the expected
  number of query/verify sources was doubled. Now the numbers
  match with reality, adjust the check.
This commit is contained in:
Panu Matilainen 2011-07-13 13:56:15 +03:00
parent bbf85d4d4f
commit 306c23ee49
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ int main(int argc, char *argv[])
}
if (qva->qva_sourceCount) {
if (qva->qva_sourceCount > 2)
if (qva->qva_sourceCount > 1)
argerror(_("one type of query/verify may be performed at a "
"time"));
}