Diff between 7567b13ef328b74794d00bfec2a3a7f51231be6e and 17c9c2073a4e07ad26f1c62868805bc8bca494cb
Changed Files
| File | Additions | Deletions | Status |
| android/ipc.c | +2 | -0 | modified |
Full Patch
diff --git a/android/ipc.c b/android/ipc.c
index 1d369a8..6f940cd 100644
--- a/android/ipc.c
+++ b/android/ipc.c
@@ -229,6 +229,8 @@ static gboolean cmd_connect_cb(GIOChannel *io, GIOCondition cond,
void ipc_init(void)
{
cmd_io = connect_hal(cmd_connect_cb);
+ if (!cmd_io)
+ raise(SIGTERM);
}
void ipc_cleanup(void)