Home GnuPG
Diffusion GnuPG be2da2445658

gpg: Keep temp files when opening images via xdg-open

Description

gpg: Keep temp files when opening images via xdg-open

* g10/photoid.c (get_default_photo_command): Change parameter for
xdg-open.

xdg-open spawns the user's preferred image viewer and then exits.
Therefore we must not remove the temp file when it exits,
otherwise by the time the actual image viewer is started the file
doesn't exist any more.

  • Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>

Details

Provenance
Nicolas Fella via Gnupg-devel <gnupg-devel@gnupg.org>Authored on Feb 28 2021, 2:34 PM
wernerCommitted on Mar 1 2021, 9:43 AM
Parents
rG5ed1567e7c6b: po: Make agent/commands.c translatable and update German translation.
Branches
Unknown
Tags
Unknown

Event Timeline