[examples/cat] Fix exit status.
This commit is contained in:
parent
4694eba54d
commit
d2e35dce50
|
@ -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
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue