summaryrefslogtreecommitdiff
path: root/service/src/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'service/src/app.c')
-rw-r--r--service/src/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/src/app.c b/service/src/app.c
index 3d3f537..bd17fa8 100644
--- a/service/src/app.c
+++ b/service/src/app.c
@@ -100,7 +100,7 @@ void * apps_survival_monitor(void * arg)
{
char buf[64];
int n = read(fd, buf, sizeof(buf));
- if (n = 0)
+ if (n == 0)
__deconstruct_app(app_iter);
}
}