← Back to team overview

enterprise-support team mailing list archive

[Bug 1351000] [NEW] crash when specifying both --help and $mail_report_on eq 'always'

 

Public bug reported:

If the --help option is specified and $mail_report_on eq 'always', the
$mail_buffer variable is never assigned a value so perl issues an error
message:

  Use of uninitialized value $mail_buffer in string at
/usr/bin/mylvmbackup line 1179

Since it is doubtful that a mail report is desired if --help is
specified my solution was to add

  $mail_report_on = 'never';

as the first line on the help() subroutine.

** Affects: mylvmbackup
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to MySQL.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1351000

Title:
  crash when specifying both --help and $mail_report_on eq 'always'

To manage notifications about this bug go to:
https://bugs.launchpad.net/mylvmbackup/+bug/1351000/+subscriptions


Follow ups

References