mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Doc fix.
Don't let gpg2 fail if the option skeleton file is missing
This commit is contained in:
parent
7b9eee1e5e
commit
71b6a940a3
3 changed files with 12 additions and 2 deletions
|
@ -342,7 +342,7 @@ copy_options_file( const char *destdir )
|
|||
errno = EPERM;
|
||||
}
|
||||
if( !src ) {
|
||||
log_error(_("can't open `%s': %s\n"), fname, strerror(errno) );
|
||||
log_info (_("can't open `%s': %s\n"), fname, strerror(errno) );
|
||||
xfree(fname);
|
||||
return;
|
||||
}
|
||||
|
@ -357,7 +357,7 @@ copy_options_file( const char *destdir )
|
|||
dst = fopen( fname, "w" );
|
||||
umask(oldmask);
|
||||
if( !dst ) {
|
||||
log_error(_("can't create `%s': %s\n"), fname, strerror(errno) );
|
||||
log_info (_("can't create `%s': %s\n"), fname, strerror(errno) );
|
||||
fclose( src );
|
||||
xfree(fname);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue