diff options
| author | ruki <[email protected]> | 2024-03-31 21:57:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-31 21:57:56 +0800 |
| commit | 454048ab2a488f706801c4cc15a06272a8b005a8 (patch) | |
| tree | b2fc66eb5dd3d2fb4beebe6602658b90dbe79736 /xmake | |
| parent | 536ad613e5c7b2ba8581c740548bf359b0fea91f (diff) | |
add signal test
Diffstat (limited to 'xmake')
| -rw-r--r-- | xmake/core/base/signal.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/signal.lua b/xmake/core/base/signal.lua index afcbdb684..e281bb1f4 100644 --- a/xmake/core/base/signal.lua +++ b/xmake/core/base/signal.lua @@ -25,7 +25,7 @@ local signal = signal or {} local os = require("base/os") -- signal code -signal.SIGINT = 1 +signal.SIGINT = 2 -- register signal handler function signal.register(signo, handler) |
