From b0898da33fc26e9c0af3302575cef1279112a7bb Mon Sep 17 00:00:00 2001 From: Maarten Vanraes Date: Sat, 6 Aug 2016 14:47:42 +0200 Subject: Part: add debug info --- lib/ManaTools/Shared/disk_backend/Part.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ManaTools/Shared/disk_backend/Part.pm b/lib/ManaTools/Shared/disk_backend/Part.pm index ec016cc7..7c39d201 100644 --- a/lib/ManaTools/Shared/disk_backend/Part.pm +++ b/lib/ManaTools/Shared/disk_backend/Part.pm @@ -531,9 +531,11 @@ sub trychild { # use the identification function if (!defined $identify || $identify->($child, $parameters)) { + $self->plugin->D('%s: checked identify of child %s', $self, $child); # if it's the state we're looking for, just return it return $child if ($child->is_state($partstate)); + $self->plugin->D('%s: checked state of child %s', $self, $child); # assign a link to the others, in case we'll need to create it # this way, it'll be already linked to the others -- cgit v1.2.1