17 lines
498 B
Diff
17 lines
498 B
Diff
|
--- src/warmstart.c
|
||
|
+++ src/warmstart.c 2014/02/26 14:18:39
|
||
|
@@ -106,9 +106,10 @@
|
||
|
fprintf(stderr, "rpcbind: using '%s' startup file\n", filename);
|
||
|
|
||
|
if ((fp = fopen(filename, "r")) == NULL) {
|
||
|
- rpcbind_log_error(
|
||
|
- "Cannot open '%s' file for reading, errno %d (%s)",
|
||
|
- filename, errno, strerror(errno));
|
||
|
+ if (errno != ENOENT)
|
||
|
+ rpcbind_log_error(
|
||
|
+ "Cannot open '%s' file for reading, errno %d (%s)",
|
||
|
+ filename, errno, strerror(errno));
|
||
|
goto error;
|
||
|
}
|
||
|
|