Silence error messages in image-info script
This commit is contained in:
parent
86dc6860f9
commit
891f389f0e
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user