mirror of https://github.com/digint/btrbk
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
parent
e7787e8a44
commit
8de7f45e89
2
btrbk
2
btrbk
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue