Home GnuPG
Diffusion GnuPG 30dac0486b63

gpgconf: No ENOENT warning with --change-options et al.
30dac0486b63Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpgconf: No ENOENT warning with --change-options et al.

* tools/gpgconf-comp.c (retrieve_options_from_program): Check ERRNO
before printing a warning.

It is common that a conf files does not exist - thus we should not
print a warning.

BTW: The error messages in gpgconf should be reworked to match those
of the other components.

  • GnuPG-bug-id: T2944
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 13 2017, 7:38 PM
Parents
rG810adfd47801: gpg: Print a warning if no command has been given.
Branches
Unknown
Tags
Unknown