Browse Source

Silence error messages in image-info script

master
Bert Münnich 8 years ago
parent
commit
891f389f0e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      exec/image-info

+ 2
- 0
exec/image-info 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)




Loading…
Cancel
Save