amraw

Olivier <[email protected]> Wed, 28 Nov 2018 14:14:29 +0700
Newsgroups gmane.comp.archivers.amanda.devel
Message-ID <[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

--