fix: missing status32 exit check (#128)

This commit fixes the issue where 32-bit daemon wouldn't be checked for exits, as the macro hardcoded "status64".

Signed-off-by: Breathleas <39123978+Breathleas@users.noreply.github.com>
Co-authored-by: anyusec <145352653+anyusec@users.noreply.github.com>
Co-authored-by: Pedro.js <pedroolimpioguerra@gmail.com>
This commit is contained in:
Breathleas
2025-04-14 06:12:08 +08:00
committed by GitHub
parent 2d80ce6935
commit c37a5b1c8e

View File

@@ -438,7 +438,7 @@ static bool ensure_daemon_created(bool is_64bit) {
}
#define CHECK_DAEMON_EXIT(abi) \
if (status##abi.supported && pid == status64.daemon_pid) { \
if (status##abi.supported && pid == status##abi.daemon_pid) { \
char status_str[64]; \
parse_status(status, status_str, sizeof(status_str)); \
\