Commit f14f15b286
Verified · cmc
Layout: unified · split
internal/format/exiftool.go +3
| @@ -125,6 +125,9 @@ func (e *exiftool) run(args ...string) ([]byte, error) { | ||
| 125 | 125 | return fail(err) |
| 126 | 126 | } |
| 127 | 127 | if string(bytes.TrimRight(line, "\r\n")) == "{ready}" { |
| 128 | if !timer.Stop() { | |
| 129 | e.stop(false) // the timer fired and killed the process as the read completed | |
| 130 | } | |
| 128 | 131 | return out, nil |
| 129 | 132 | } |
| 130 | 133 | out = append(out, line...) |