AcessNative - Allowed the kernel executable to also start the user app
[tpg/acess2.git] / AcessNative / ld-acess_src / request.c
index b8a3239..7d80a45 100644 (file)
@@ -195,7 +195,9 @@ int SendRequest(tRequestHeader *Request, int RequestSize, int ResponseSize)
        
        // Send it off
        SendData(Request, RequestSize);
-       
+
+       if( Request->CallID == SYS_EXIT )       return 0;
+
        // Wait for a response (no timeout)
        return ReadData(Request, ResponseSize, 0);
 }

UCC git Repository :: git.ucc.asn.au