diff --git a/sha256sum/halyde/apps/sha256sum.lua b/sha256sum/halyde/apps/sha256sum.lua index 21015a2..5f2347f 100644 --- a/sha256sum/halyde/apps/sha256sum.lua +++ b/sha256sum/halyde/apps/sha256sum.lua @@ -103,6 +103,7 @@ for _, file in ipairs(files) do end if not fs.exists(file) then print("\27[91mFile does not exist.") + goto continue end local handle = fs.open(file, "r") @@ -185,4 +186,5 @@ for _, file in ipairs(files) do hash[i] = string.format("%02x", hash_parts[i]) end termlib.write(table.concat(hash).." "..file.."\n") + ::continue:: end