diff options
author | Christopher Baines <mail@cbaines.net> | 2023-04-13 17:21:37 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-04-13 17:21:37 +0100 |
commit | 7f6db4b55411f79ab5f2639318dc5871c1452f00 (patch) | |
tree | 289b83c498d84fafc990b4f9dd451b3271dfbd56 /guix-build-coordinator | |
parent | 7d2f4d7b5cf994f5025aeb44b8ebba9385bc0c15 (diff) | |
download | build-coordinator-7f6db4b55411f79ab5f2639318dc5871c1452f00.tar build-coordinator-7f6db4b55411f79ab5f2639318dc5871c1452f00.tar.gz |
Guard against the hash file being empty
Diffstat (limited to 'guix-build-coordinator')
-rw-r--r-- | guix-build-coordinator/coordinator.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-build-coordinator/coordinator.scm b/guix-build-coordinator/coordinator.scm index c66e89a..3c443f4 100644 --- a/guix-build-coordinator/coordinator.scm +++ b/guix-build-coordinator/coordinator.scm @@ -1380,7 +1380,8 @@ outputs) "hash"))) - (unless (string=? hash expected-hash) + (unless (and (string? hash) ; it can be eof + (string=? hash expected-hash)) (delete-file output-location) (delete-file hash-file) |