aboutsummaryrefslogtreecommitdiff
path: root/exec/image-info
diff options
context:
space:
mode:
Diffstat (limited to 'exec/image-info')
-rw-r--r--exec/image-info2
1 files changed, 2 insertions, 0 deletions
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)