mirror of
https://github.com/fleetdm/fleet
synced 2026-05-17 14:08:25 +00:00
#17695 The windows exit code is a 32-bit unsigned integer, but the command interpreter treats it like a signed integer. When a process is killed, it returns 0xFFFFFFFF (interpreted as -1). We convert the integer to an signed 32-bit integer to flip it to a -1 to match our expectations, and fit in our db column. https://en.wikipedia.org/wiki/Exit_status#Windows FIxed on both the client and server side. |
||
|---|---|---|
| .. | ||
| exec_nonwindows.go | ||
| exec_windows.go | ||
| scripts.go | ||
| scripts_test.go | ||