ladishd: dont log error when the recent store does not exist
This commit is contained in:
parent
6c4e75c400
commit
46528c8874
|
@ -88,7 +88,11 @@ ladish_recent_store_load(
|
||||||
fd = open(store_ptr->path, O_RDONLY);
|
fd = open(store_ptr->path, O_RDONLY);
|
||||||
if (fd == -1)
|
if (fd == -1)
|
||||||
{
|
{
|
||||||
log_error("open(%s) failed: %d (%s)", store_ptr->path, errno, strerror(errno));
|
if (errno != ENOENT)
|
||||||
|
{
|
||||||
|
log_error("open(%s) failed: %d (%s)", store_ptr->path, errno, strerror(errno));
|
||||||
|
}
|
||||||
|
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue