mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Check for read errors.
This commit is contained in:
parent
be5c85a71b
commit
70cd856a0c
1 changed files with 2 additions and 0 deletions
|
|
@ -196,6 +196,8 @@ cont:
|
|||
continue;
|
||||
}
|
||||
}
|
||||
if (ferror(stdin))
|
||||
err(1, NULL);
|
||||
} while (argc > 0);
|
||||
fflush(stdout);
|
||||
exit(0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue