Re: amraw

"Dustin J. Mitchell" <[email protected]> Wed, 28 Nov 2018 09:30:09 -0500
Newsgroups gmane.comp.archivers.amanda.devel
Message-ID <CAJtE5vQmS-AYKj0oiWx=cYrM8D1JJ5K5rAzB+yfciqkgnvpMdg@mail.gmail.com>
Sounds like a bug..  Do you want to make a PR?

Dustin

Op wo 28 nov. 2018 om 02:19 schreef Olivier <[email protected]>:

> Hello,
>
> I am using amraw as a skeleton to develop a MySQl plugin (and hopefully
> a VMware one later).
>
> Reading the code for amraw, I saw the following, repeated in several
> places in the code:
>
> if ($#{$self->{include_list}} >= 0) {
>         $self->print_to_server("include-list not supported for backup",
>                                $Amanda::Script_App::ERROR);
>     }
>     if ($#{$self->{include_list}} >= 0) {
>         $self->print_to_server("exclude-list not supported for backup",
>                                $Amanda::Script_App::ERROR);
>     }
>
> While the message is for "include" and "exclude", the test is always on
> "include".
>
> Best regards,
>
> Olivier
>
> --
>