mirror of
https://codeberg.org/1414codeforge/lua-osx.git
synced 2025-06-05 21:49:10 +02:00
[examples/cat] Fix exit status.
This commit is contained in:
@ -75,7 +75,5 @@ for _, path in ipairs(files) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if not success then
|
osx.exit(success and 0 or 1)
|
||||||
os.exit(1)
|
|
||||||
end
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user