From cca200707d0442eca0ae737e3762a117cd55bea7 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Tue, 7 Jun 2022 00:34:14 +0200 Subject: [PATCH] btrbk: set subvolume url to /dev/null on archive This should not be printed anywhere. If it is, it's a bug. --- btrbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrbk b/btrbk index aa61e47..b0d0929 100755 --- a/btrbk +++ b/btrbk @@ -5896,7 +5896,7 @@ MAIN: next if($name_uniq{"$subdir/$snapshot_name"}); $name_uniq{"$subdir/$snapshot_name"} = 1; $cur = parse_config_line($cur, $_->[0], $_->[1]) // die for( - [ subvolume => $sroot->{URL} . $subdir ], + [ subvolume => $sroot->{URL_PREFIX} . "/dev/null" ], [ snapshot_dir => $sroot->{PATH} . $subdir ], [ snapshot_name => $snapshot_name ], [ target => ($raw_cmdline ? "raw" : "send-receive") . " '" . $droot->{URL} . $subdir . "'" ],