chiark / gitweb /
tools: Fix condition for gpg-connect-agent.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 12 Apr 2017 07:01:16 +0000 (16:01 +0900)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 18 Sep 2017 20:41:12 +0000 (21:41 +0100)
commitf91e2bdd45a09d3c5892b8ded0139d55b8a68da1
treee11bb6d0f33a8f76abfeddfeb6649ecac539dfd3
parentbf5370d752586e5d13113c9e462480cb61ca0bd5
tools: Fix condition for gpg-connect-agent.

* tools/gpg-connect-agent.c (start_agent): Add paren.

--

The intention is comparing the error code depending opt.use_dirmngr.
Considering C Operator Precedence, we should have paren here.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(cherry picked from commit f52f6af834cc488d11612e349e4af023d69a45f4)

Gbp-Pq: Name 0068-tools-Fix-condition-for-gpg-connect-agent.patch
tools/gpg-connect-agent.c