diff options
author | Jan Huwald <jh@sotun.de> | 2014-11-05 14:49:50 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2014-11-05 14:49:50 (GMT) |
commit | 7cee7992677b5b2baa801160b1b7dabbe8a80d5f (patch) | |
tree | 2102573e17469eff5d9a331893952b02bf2b8d0b | |
parent | c2b747fbd8cb87635d2894081cfa40058b2d473e (diff) |
remove more noise if one of jhead is not available
-rwxr-xr-x | anondcim | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ rand() { [ $# -gt 0 ] || die "Usage: $0 [-p image_prefix] [-s destination_size (absolute or percentage)] [-d destination_directory] imagefile(s)" [ ! -x "$(which convert)" ] && die "ImageMagick (convert, identify) is not installed" -[ ! -x "$(which jhead)" ] && [ ! -x "$(which exiftool)" ] && die "jhead or exiftool has to be installed" +which jhead 2>/dev/null || which exiftool 2>/dev/null || die "jhead or exiftool has to be installed" # set default values file_prefix="" |