Skip to content

Commit

Permalink
fixes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 committed Apr 2, 2024
1 parent 9119a8a commit 5184efd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/command/shell.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
local action = require "action"

action.init()
local code = action.execute { table.unpack(arg, 2) }
local code = action.execute {
stdout = io.stdout,
table.unpack(arg, 2)
}
if code ~= 0 then
os.exit(code)
end

0 comments on commit 5184efd

Please sign in to comment.