[examples/cat] Fix exit status.

This commit is contained in:
Lorenzo Cogotti 2023-02-17 11:22:26 +01:00
parent 4694eba54d
commit d2e35dce50
1 changed files with 1 additions and 3 deletions

View File

@ -75,7 +75,5 @@ for _, path in ipairs(files) do
end
end
if not success then
os.exit(1)
end
osx.exit(success and 0 or 1)