X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=perl%2FAmanda%2FTaper%2FScan%2Ftraditional.pm;fp=perl%2FAmanda%2FTaper%2FScan%2Ftraditional.pm;h=32fcf89f4eea51a84a0863693febad41ba60d6a9;hb=d28952249e392eb31bc8eecc53f6c477f30c617b;hp=ec6e96bb3105a9c6927cd1e0703dc500b545b75e;hpb=949b8910a5e23c4285d0b1aedacfc82a14dc97a5;p=debian%2Famanda diff --git a/perl/Amanda/Taper/Scan/traditional.pm b/perl/Amanda/Taper/Scan/traditional.pm index ec6e96b..32fcf89 100644 --- a/perl/Amanda/Taper/Scan/traditional.pm +++ b/perl/Amanda/Taper/Scan/traditional.pm @@ -1,8 +1,9 @@ # Copyright (c) 2009-2012 Zmanda, Inc. All Rights Reserved. # -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License version 2.1 as -# published by the Free Software Foundation. +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +#* License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY @@ -286,9 +287,9 @@ sub stage_2 { my $loaded_current = $load_current; $load_current = 0; # don't load current a second time - $self->_user_msg(search_result => 1, res => $res, err => $err); # bail out immediately if the scan is complete if ($err and $err->failed and $err->notfound) { + $self->_user_msg(search_result => 1, res => $res, err => $err); # no error, no reservation -> end of the scan return $self->scan_result(result_cb => $result_cb); }