diff options
Diffstat (limited to 'inittab.c')
-rw-r--r-- | inittab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -139,7 +139,7 @@ static void askconsole(struct init_action *a) regex_t pat_cmdline; regmatch_t matches[2]; - if (!fd) + if (fd < 0) return; r = read(fd, line, sizeof(line) - 1); |