diff options
Diffstat (limited to 'src/supervision/s6-notify-fd-from-socket.c')
| -rw-r--r-- | src/supervision/s6-notify-fd-from-socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervision/s6-notify-fd-from-socket.c b/src/supervision/s6-notify-fd-from-socket.c index 625f57a..bb5d887 100644 --- a/src/supervision/s6-notify-fd-from-socket.c +++ b/src/supervision/s6-notify-fd-from-socket.c @@ -75,7 +75,7 @@ static inline int run_child (int sock, int fd, unsigned int timeout) if (!strncmp(buf, "READY=1", 7) && (!buf[7] || buf[7] == '\n')) break ; else { - char *s = strstr(buf, "\nREADY=1\n") ; + char *s = strstr(buf, "\nREADY=1") ; if (s && (!s[8] || s[8] == '\n')) break ; } } |
