mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Use bye in place of fatal.
This commit is contained in:
parent
f45f2f394e
commit
f9867163da
1 changed files with 1 additions and 1 deletions
|
|
@ -463,7 +463,7 @@ static int stdin_is_reg(void) {
|
|||
struct stat buf;
|
||||
|
||||
if (fstat(STDIN_FILENO, &buf) < 0)
|
||||
fatal("fstat(): %s", strerror(errno));
|
||||
bye("fstat(): %s", strerror(errno));
|
||||
|
||||
return S_ISREG(buf.st_mode);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue