btrbk: remove dead code

setting info{ERROR} does not make sense if info hash is not pushed to
SUBVOL_RECEIVED.

as of: c06bca17
pull/293/head
Axel Burri 2019-07-15 18:29:20 +02:00
parent e7787e8a44
commit 8de7f45e89
1 changed files with 0 additions and 2 deletions

2
btrbk
View File

@ -3988,7 +3988,6 @@ sub macro_send_receive(@)
FIX_MANUALLY($config_target, $err_msg); FIX_MANUALLY($config_target, $err_msg);
ERROR ABORTED_TEXT($config_target) . ", aborting send/receive of: $source->{PRINT}"; ERROR ABORTED_TEXT($config_target) . ", aborting send/receive of: $source->{PRINT}";
ERROR $err_msg; ERROR $err_msg;
$info{ERROR} = 1;
return undef; return undef;
} }
@ -4003,7 +4002,6 @@ sub macro_send_receive(@)
} }
else { else {
WARN "Backup to $target->{PRINT} failed: no common parent subvolume found for \"$source->{PRINT}\", and option \"incremental\" is set to \"strict\""; WARN "Backup to $target->{PRINT} failed: no common parent subvolume found for \"$source->{PRINT}\", and option \"incremental\" is set to \"strict\"";
$info{ERROR} = 1;
ABORTED($config_target, "No common parent subvolume found, and option \"incremental\" is set to \"strict\""); ABORTED($config_target, "No common parent subvolume found, and option \"incremental\" is set to \"strict\"");
return undef; return undef;
} }