mirror of
https://repo.or.cz/socat.git
synced 2025-07-17 16:43:24 +00:00
Print warning messages per default; new options -d0..-d4
This commit is contained in:
parent
dc777a00bb
commit
557f299b82
17 changed files with 115 additions and 62 deletions
|
@ -105,12 +105,7 @@ static int xioopen_fifo(int argc, const char *argv[], struct opt *opts, int xiof
|
|||
|
||||
if (opt_unlink_early) {
|
||||
if (Unlink(pipename) < 0) {
|
||||
if (errno == ENOENT) {
|
||||
Warn2("unlink(%s): %s", pipename, strerror(errno));
|
||||
} else {
|
||||
Error2("unlink(%s): %s", pipename, strerror(errno));
|
||||
return STAT_RETRYLATER;
|
||||
}
|
||||
return STAT_RETRYLATER;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue