btrbk: set subvolume url to /dev/null on archive

This should not be printed anywhere. If it is, it's a bug.
pull/542/head
Axel Burri 2022-06-07 00:34:14 +02:00
parent d4ab986245
commit cca200707d
1 changed files with 1 additions and 1 deletions

2
btrbk
View File

@ -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 . "'" ],