Silence error messages in image-info script

This commit is contained in:
Bert Münnich 2016-10-17 20:29:11 +02:00
parent 86dc6860f9
commit 891f389f0e
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@
s=" | " # field separator s=" | " # field separator
exec 2>/dev/null
filename=$(basename -- "$1") filename=$(basename -- "$1")
filesize=$(du -Hh -- "$1" | cut -f 1) filesize=$(du -Hh -- "$1" | cut -f 1)