From 891f389f0e228759b05dadec9dafdea5dc772f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Mon, 17 Oct 2016 20:29:11 +0200 Subject: Silence error messages in image-info script --- exec/image-info | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exec/image-info b/exec/image-info index 8e1b805..1a808f7 100644 --- a/exec/image-info +++ b/exec/image-info @@ -10,6 +10,8 @@ s=" | " # field separator +exec 2>/dev/null + filename=$(basename -- "$1") filesize=$(du -Hh -- "$1" | cut -f 1) -- cgit v1.2.3