mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
Better warning messages
This commit is contained in:
parent
6ec4e8c6a1
commit
d59f87e94b
@ -1,3 +1,7 @@
|
||||
2006-02-17 Werner Koch <wk@g10code.com>
|
||||
|
||||
* call-dirmngr.c (start_dirmngr): Print name of dirmngr to be started.
|
||||
|
||||
2005-11-23 Werner Koch <wk@g10code.com>
|
||||
|
||||
* gpgsm.h: New member QUALSIG_APPROVAL.
|
||||
|
@ -170,8 +170,16 @@ start_dirmngr (void)
|
||||
int no_close_list[3];
|
||||
int i;
|
||||
|
||||
if (!opt.dirmngr_program || !*opt.dirmngr_program)
|
||||
opt.dirmngr_program = GNUPG_DEFAULT_DIRMNGR;
|
||||
if ( !(pgmname = strrchr (opt.dirmngr_program, '/')))
|
||||
pgmname = opt.dirmngr_program;
|
||||
else
|
||||
pgmname++;
|
||||
|
||||
if (opt.verbose)
|
||||
log_info (_("no running dirmngr - starting one\n"));
|
||||
log_info (_("no running dirmngr - starting `%s'\n"),
|
||||
opt.dirmngr_program);
|
||||
|
||||
if (fflush (NULL))
|
||||
{
|
||||
@ -180,13 +188,6 @@ start_dirmngr (void)
|
||||
return tmperr;
|
||||
}
|
||||
|
||||
if (!opt.dirmngr_program || !*opt.dirmngr_program)
|
||||
opt.dirmngr_program = GNUPG_DEFAULT_DIRMNGR;
|
||||
if ( !(pgmname = strrchr (opt.dirmngr_program, '/')))
|
||||
pgmname = opt.dirmngr_program;
|
||||
else
|
||||
pgmname++;
|
||||
|
||||
argv[0] = pgmname;
|
||||
argv[1] = "--server";
|
||||
argv[2] = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user