X-Git-Url: https://git.gag.com/?p=debian%2Famanda;a=blobdiff_plain;f=perl%2FAmanda%2FRecovery%2FClerk.pm;h=c40d40f7de7d5e0b9e6d40f9fb38eaa75f5ea792;hp=39b3c20cd58010d6156bfaf530b14b07f260884c;hb=d28952249e392eb31bc8eecc53f6c477f30c617b;hpb=949b8910a5e23c4285d0b1aedacfc82a14dc97a5 diff --git a/perl/Amanda/Recovery/Clerk.pm b/perl/Amanda/Recovery/Clerk.pm index 39b3c20..c40d40f 100644 --- a/perl/Amanda/Recovery/Clerk.pm +++ b/perl/Amanda/Recovery/Clerk.pm @@ -1,8 +1,9 @@ # Copyright (c) 2010-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 @@ -303,7 +304,7 @@ sub quit { my $finished_cb = $params{'finished_cb'}; confess "Cannot quit a Clerk while a transfer is in progress" - if $self->{'xfer_state'}; + if $self->{'xfer_state'} and $self->{'xfer_state'}->{'xfer'}; my $steps = define_steps cb_ref => \$finished_cb,