Home GnuPG
Diffusion GnuPG 0441ed6e1c1d

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:47 AM
Parents
rGe5af401fc4c3: sm: Silence some other pkcs#12 import prattle
Branches
Unknown
Tags
Unknown