Ludovic Courtès 4a6ec23a97
download: Delete the output file upon failure.
This allows ENOSPC conditions to be properly reported as such rather
than as a hash mismatch due to the availability of a truncated file.

Fixes <https://bugs.gnu.org/39993>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

* guix/build/download.scm (url-fetch): In the failure case, delete FILE.
2020-03-22 00:02:23 +01:00
..
2019-12-12 17:56:58 +01:00
2019-12-15 00:34:05 +01:00
2019-05-06 23:21:33 +02:00
2020-03-12 18:32:15 +01:00
2019-09-04 13:02:27 +02:00
2020-02-03 16:32:39 +01:00
2019-03-13 23:12:43 +01:00
2019-06-05 23:10:37 +02:00
2020-01-23 23:34:10 +01:00
2020-01-06 16:31:54 +01:00