Check return code of gunzip-grep process