fleet/orbit/pkg/scripts
Dante Catalfamo 48036577eb
Interpret windows exit codes as a signed integer (#18282)
#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.
2024-04-16 10:53:50 -04:00
..
exec_nonwindows.go Implement script execution on the fleetd agent (disabled by default) (#13569) 2023-08-30 14:02:44 -04:00
exec_windows.go Interpret windows exit codes as a signed integer (#18282) 2024-04-16 10:53:50 -04:00
scripts.go Queued scripts feature (#16300) 2024-01-29 11:37:54 -03:00
scripts_test.go Queued scripts feature (#16300) 2024-01-29 11:37:54 -03:00