From 65421dcac7f5aee72b846c10606b94bba1d17d8d Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Thu, 31 Dec 2015 15:15:12 +0000 Subject: [PATCH] Ticket #3568: fix image view info for JPEG files Signed-off-by: Andreas Mohr Signed-off-by: Yury V. Zaytsev --- misc/ext.d/image.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/misc/ext.d/image.sh b/misc/ext.d/image.sh index 05161adba..8afbad6c0 100755 --- a/misc/ext.d/image.sh +++ b/misc/ext.d/image.sh @@ -13,10 +13,8 @@ do_view_action() { case "${filetype}" in jpeg) - which exif >/dev/null 2>&1 && \ - { - identify "${MC_EXT_FILENAME}"; exif "${MC_EXT_FILENAME}" 2>/dev/null - } + identify "${MC_EXT_FILENAME}" + which exif >/dev/null 2>&1 && exif "${MC_EXT_FILENAME}" 2>/dev/null ;; xpm) sxpm "${MC_EXT_FILENAME}"