Fix error message if failing to hash file

This commit is contained in:
Bryan Bennett 2024-03-23 07:15:16 -04:00
parent 76e06049cf
commit 606d717276
No known key found for this signature in database
GPG key ID: EE149E4215408DE9

View file

@ -16,7 +16,7 @@ let main = () => {
switch (Util.hash_files(paths)) {
| Ok(hsh) => hsh
| Error(msg) =>
Printf.eprintf("%s\n", e);
Printf.eprintf("%s\n", msg);
exit(1);
};