Commit 27ae6f73 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Don't try to invoke sympa_newaliases-wrapper if it has been removed

parent 164c34fb
......@@ -233,7 +233,8 @@ sub alias_wrapper {
my $list = shift;
my $command;
if (Conf::get_robot_conf($list->{'domain'}, 'aliases_wrapper') eq 'on') {
if (Conf::get_robot_conf($list->{'domain'}, 'aliases_wrapper') eq 'on'
and -e Sympa::Constants::LIBEXECDIR . '/sympa_newaliases-wrapper') {
return Sympa::Constants::LIBEXECDIR . '/sympa_newaliases-wrapper';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment