* ended our handle will be dead. It's important that
* we do this after sleeping, so that we don't enter
* an endless loop. */
- safe_close(fd);
+ fd = safe_close(fd);
}
safe_close(notify);
l = 0;
e = getenv("LINES");
- if (e) {
- int r;
-
- r = safe_atou(e, &l);
- if (r < 0) {}
- /* do nothing, we fall back to l = 0 */
- }
+ if (e)
+ (void) safe_atou(e, &l);
if (l <= 0)
l = fd_lines(STDOUT_FILENO);