added comment about ENOENT
This commit is contained in:
parent
3a8c8e86a8
commit
1452afe110
|
@ -663,9 +663,11 @@ sub store_file {
|
|||
my $file_bfd;
|
||||
unless (open($file_bfd, '>:raw', $backup_filename)) {
|
||||
$self->log(5, "cannot open backup file $backup_filename: $!");
|
||||
# There may be some errors from which we can recover, e.g., for
|
||||
# XXX - There may be some errors from which we can recover, e.g., for
|
||||
# "File name too long" we could just shorten the file name. But for
|
||||
# now we just skip the file:
|
||||
# XXX - some other errors are almost certainly fatal, e.g., ENOENT
|
||||
# probably means that our backup device has been unmounted (BTDT).
|
||||
$self->close_file_connection;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue