From d3d04f225263f65363d0f04ac472bae20cfb56dc Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Thu, 22 Jul 2021 17:42:11 +0200 Subject: [PATCH] btrbk: remove subvolume_path from schedule table This is the only format where SUBVOL_PATH is displayed. As SUBVOL_PATH is only available for vinfo_child, this can not be used in global scope. --- btrbk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/btrbk b/btrbk index 7ba5053..aaf2a58 100755 --- a/btrbk +++ b/btrbk @@ -257,7 +257,7 @@ my %table_formats = ( schedule => { table => [ qw( action -host -port subvolume scheme reason ) ], - long => [ qw( action -host -port root_path subvolume_path scheme reason ) ], + long => [ qw( action -host -port subvolume scheme reason ) ], raw => [ qw( topic action url host port path hod dow min h d w m y) ], }, @@ -3339,7 +3339,6 @@ sub vinfo_prefixed_keys($$) $ret{$prefix . lc($_)} = $vinfo->{$_}; } $ret{$prefix . "subvolume"} = $vinfo->{PATH}; - $ret{$prefix . "subvolume_path"} = $vinfo->{SUBVOL_PATH}; my $rsh = vinfo_rsh($vinfo); $ret{$prefix . "rsh"} = ($rsh ? join(" ", @$rsh) : undef), return %ret;