Menu

#7 config item notify_exec_X does not work

open
nobody
None
5
2003-07-16
2003-07-16
Anonymous
No

In penemo.pm, subroutine _default_config(), the
following lines:

if ($_ =~ /^notify_exec/) {
($key, $value) = split(/_command\s*/, $_);
$conf{'notify_exec'} = $value;
next;
}

must be replaced with:

if ($_ =~ /^notify_exec/) {
($key, $value) = split(/\s+/, $_); # split on \s+
$conf{$key} = $value; # use $key
next;
}

It appears that the config file (at one time) specified a
single config item 'notify_exec_command'. However, the
example config files now refer to three
items: 'notify_exec_X'. The aforementioned code
change will properly comlete support these config items.
The rest of the code already supports them.

If you have any questions, as always, please contact
me at dpmott@sep.com

Thanks!

Discussion


Log in to post a comment.