diff options
author | Bert Münnich <ber.t@posteo.de> | 2016-10-17 20:29:11 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2016-10-17 20:29:11 +0200 |
commit | 891f389f0e228759b05dadec9dafdea5dc772f70 (patch) | |
tree | f10551c8faad66ba56a786b3fe1203b9620cce48 /exec/image-info | |
parent | 86dc6860f9def64ad554a7c69eeae28203661e2c (diff) |
Silence error messages in image-info script
Diffstat (limited to 'exec/image-info')
-rw-r--r-- | exec/image-info | 2 |
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) |