tweaks: elide an unneeded, duplicate stat() for the FIFO check
parent
189de5ee78
commit
e8e30e5197
|
@ -1815,7 +1815,7 @@ bool write_file(const char *name, FILE *f_open, bool tmp,
|
|||
}
|
||||
}
|
||||
|
||||
if (stat(realname, &st) == 0 && S_ISFIFO(st.st_mode))
|
||||
if (S_ISFIFO(st.st_mode))
|
||||
statusbar(_("Writing to FIFO..."));
|
||||
#endif /* !NANO_TINY */
|
||||
|
||||
|
|
Loading…
Reference in New Issue