diff options
author | Panu Matilainen <Panu Matilainen pmatilai@redhat.com> | 2011-07-13 13:56:15 +0300 |
---|---|---|
committer | Panu Matilainen <Panu Matilainen pmatilai@redhat.com> | 2011-07-13 13:56:15 +0300 |
commit | 306c23ee49c0e385a830d206389c5e36128b9916 (patch) | |
tree | 57af155701abf3de6385a04600c8789dc71f2124 | |
parent | bbf85d4d4fe692030de0b39f4c289da0434a9890 (diff) | |
download | rpm-306c23ee49c0e385a830d206389c5e36128b9916.tar.gz rpm-306c23ee49c0e385a830d206389c5e36128b9916.tar.bz2 rpm-306c23ee49c0e385a830d206389c5e36128b9916.zip |
Fix the sanity check on number of query/verify sources (RhBug:691930)
- Prior to commit 2e672f3fae9d8ff7ee64ae13cfa2fe65272c2ede, 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.
-rw-r--r-- | rpmqv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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")); } |