mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-03-03 14:52:21 +02:00
Fixed misleading error message when a file was opened for write in a missing directory.
This commit is contained in:
parent
2310e423e9
commit
f3b62d2d67
@ -196,6 +196,10 @@
|
||||
<p>Harden protocol handshake to handle race conditions.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Fixed misleading error message when a file was opened for write in a missing directory.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Change log level of hardlink logging to <id>detail</id>.</p>
|
||||
</release-item>
|
||||
|
@ -107,6 +107,8 @@ sub open
|
||||
$self->{bPathCreate} = false;
|
||||
return $self->open();
|
||||
}
|
||||
|
||||
logErrorResult($OS_ERROR{ENOENT} ? ERROR_PATH_MISSING : ERROR_FILE_OPEN, "unable to open '${strFile}'", $OS_ERROR);
|
||||
}
|
||||
|
||||
# Set file mode to binary
|
||||
|
Loading…
x
Reference in New Issue
Block a user