Subject: Developers of Sympa
List archive
- From: Philippe Amelant <address@concealed>
- To: Sympa-Dev <address@concealed>
- Subject: sympa 3.4
- Date: 16 Oct 2002 15:05:53 +0200
Hello
I am just testing 3.4 and I have a small problem in wwsympa.fcgi
## Remove sendmail aliases
sub _remove_aliases {
&wwslog('info', '_remove_aliases()');
my $alias_manager = '--SBINDIR--/alias_manager.pl';
if ((-x $alias_manager)
&& (system ("$alias_manager'} del $list->{'name'}
$list->{'admin'}{'host'}") == 0)) {
&wwslog('info','Aliases removed successfully');
$param->{'auto_aliases'} = 1;
}else {
&wwslog('info','Failed to remove aliases: %s', $!);
&error_message('failed_to_remove_aliases');
}
are you sure this line is ok ?
&& (system ("$alias_manager'} del $list->{'name'} $list->{'admin'}{'host'}")
== 0)) {
---------------------------^^ ?
also I don't understand why but i always have $? = 1536 after this call to
system
But there are no error 1536 in alias_wrapper.pl
do you know what is it ?
The alias are removed but i have an error messages failed_to_remove_aliases
in the
Thanks
-
sympa 3.4,
Philippe Amelant, 10/16/2002
-
Message not available
- Re: [sympa-dev] sympa 3.4, Philippe Amelant, 10/16/2002
-
Message not available
Archive powered by MHonArc 2.6.19+.