sh: Fix a clang warning.

Submitted by:	bdrewery
This commit is contained in:
Jilles Tjoelker 2016-07-31 13:11:34 +00:00
parent c5b3b20907
commit 3bb6ada261

View File

@ -473,7 +473,8 @@ expbackq(union node *cmd, int quoted, int flag, struct worddest *dst)
if (--in.nleft < 0) {
if (in.fd < 0)
break;
while ((i = read(in.fd, buf, sizeof buf)) < 0 && errno == EINTR);
while ((i = read(in.fd, buf, sizeof buf)) < 0 && errno == EINTR)
;
TRACE(("expbackq: read returns %d\n", i));
if (i <= 0)
break;