option --mail_report_on doesn't work
Bug #1489242 reported by
Arty
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mylvmbackup |
Fix Committed
|
High
|
Lenz Grimmer |
Bug Description
If you use mylvmbackup with '--mail_
"Option mail_report_on does not take an argument"
The problem is in the load_args() where mail_report_on definition looks like:
"mail_report_on" => \&mail_report_on,
which doesn't look good (according to man mylvmbackup). What I suggest is to replace it with:
"mail_report_on=s" => \$mail_report_on,
Related branches
To post a comment you must log in.
You're right, thanks for the report. The same applies to the snmp_report_on option. I'll fix this for 0.17.