btrbk: cosmetics: capitalize debug logs

lsbtr-related
Axel Burri 2020-08-28 18:38:06 +02:00
parent a140cbd898
commit c81e390415
1 changed files with 3 additions and 4 deletions

7
btrbk
View File

@ -1089,7 +1089,7 @@ sub btrfs_subvolume_show($;@)
} }
if($detail{id} == 5) { if($detail{id} == 5) {
DEBUG "found btrfs root: $vol->{PRINT}"; DEBUG "Found btrfs root: $vol->{PRINT}";
$detail{is_root} = 1; $detail{is_root} = 1;
} }
@ -1965,10 +1965,10 @@ sub btrfs_mountpoint
# handle autofs # handle autofs
if($mountpoint->{fs_type} eq 'autofs') { if($mountpoint->{fs_type} eq 'autofs') {
if($autofs_retry) { if($autofs_retry) {
DEBUG "non-btrfs autofs mount point for: $vol->{PRINT}"; DEBUG "Non-btrfs autofs mount point for: $vol->{PRINT}";
return undef; return undef;
} }
DEBUG "autofs mount point found, triggering automount on $mountpoint->{mount_point} for: $vol->{PRINT}"; DEBUG "Found autofs mount point, triggering automount on $mountpoint->{mount_point} for: $vol->{PRINT}";
btrfs_subvolume_show(vinfo($vol->{URL_PREFIX} . $mountpoint->{mount_point}, $vol->{CONFIG})); btrfs_subvolume_show(vinfo($vol->{URL_PREFIX} . $mountpoint->{mount_point}, $vol->{CONFIG}));
$mountinfo_cache{$vol->{MACHINE_ID}} = undef; $mountinfo_cache{$vol->{MACHINE_ID}} = undef;
return btrfs_mountpoint($vol, 1); return btrfs_mountpoint($vol, 1);
@ -5161,7 +5161,6 @@ MAIN:
if(/(.*?)=(.*)/) { if(/(.*?)=(.*)/) {
my $key = $1; my $key = $1;
my $value = $2; my $value = $2;
DEBUG "config_override: \"$key=$value\"";
unless(append_config_option(\%config_override, $key, $value, "OVERRIDE", error_statement => "in option \"--override\"")) { unless(append_config_option(\%config_override, $key, $value, "OVERRIDE", error_statement => "in option \"--override\"")) {
HELP_MESSAGE(0); HELP_MESSAGE(0);
exit 2; exit 2;