[flashrom] [patch] exit when the same filename is used for reading/writing flash chip content and to store log output