mirror of https://github.com/digint/btrbk
btrbk: cosmetics on logging
parent
5c32ced7d6
commit
5d81632b5d
4
btrbk
4
btrbk
|
@ -5459,10 +5459,9 @@ MAIN:
|
||||||
DEBUG "Listing $count_added/" . (scalar(@$subvol_list) + 1) . " subvolumes for btrfs mount: $vol->{PRINT}";
|
DEBUG "Listing $count_added/" . (scalar(@$subvol_list) + 1) . " subvolumes for btrfs mount: $vol->{PRINT}";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
DEBUG "Skipping mount point: $mnt_path (fs_type=$mnt->{fs_type})";
|
TRACE "Skipping mount point: $mnt_path (fs_type=$mnt->{fs_type})";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
last if($root_path =~ /^\Q$mnt_path\E/);
|
last if($root_path =~ /^\Q$mnt_path\E/);
|
||||||
push @mnt_path_hidden, $mnt_path;
|
push @mnt_path_hidden, $mnt_path;
|
||||||
}
|
}
|
||||||
|
@ -5473,7 +5472,6 @@ MAIN:
|
||||||
($a->{path} cmp $b->{path})
|
($a->{path} cmp $b->{path})
|
||||||
} values %data_uniq;
|
} values %data_uniq;
|
||||||
$output_format ||= "short";
|
$output_format ||= "short";
|
||||||
# dont print headers for empty list
|
|
||||||
print_formatted("fs_list", \@sorted, no_header => !scalar(@sorted));
|
print_formatted("fs_list", \@sorted, no_header => !scalar(@sorted));
|
||||||
|
|
||||||
exit $exit_status;
|
exit $exit_status;
|
||||||
|
|
Loading…
Reference in New Issue