sh: Fix a clang warning.
Submitted by: bdrewery
This commit is contained in:
parent
c5b3b20907
commit
3bb6ada261
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user