From 8de7f45e8982d786c41b5c5f8231123b9b192ca0 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Mon, 15 Jul 2019 18:29:20 +0200 Subject: [PATCH] btrbk: remove dead code setting info{ERROR} does not make sense if info hash is not pushed to SUBVOL_RECEIVED. as of: c06bca17 --- btrbk | 2 -- 1 file changed, 2 deletions(-) diff --git a/btrbk b/btrbk index f081aaa..dd5dc2c 100755 --- a/btrbk +++ b/btrbk @@ -3988,7 +3988,6 @@ sub macro_send_receive(@) FIX_MANUALLY($config_target, $err_msg); ERROR ABORTED_TEXT($config_target) . ", aborting send/receive of: $source->{PRINT}"; ERROR $err_msg; - $info{ERROR} = 1; return undef; } @@ -4003,7 +4002,6 @@ sub macro_send_receive(@) } else { 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\""); return undef; }