From: John Keeping Date: Sat, 18 May 2013 14:57:03 +0000 (+0100) Subject: html.c: die when write fails X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/1fec7cd6f817e52a6e55458d584a7a5092ba6aed?hp=1fec7cd6f817e52a6e55458d584a7a5092ba6aed html.c: die when write fails If we fail to write HTML output once, there's no point carrying on so just write a failure message once and die. By using Git's die_errno function we also let the user know in what way the write failed. Signed-off-by: John Keeping ---