https://bugs.koozali.org/show_bug.cgi?id=12084
--- Comment #18 from John Crisp <[email protected]> ---
(In reply to sti from comment #17)
> sub getConfigFileList() {
>
> my @dirList = qw (/etc/affa/ /etc/affa/conf.d/);
>
> dirList is empty...
Shouldn't be.
>
> which causes the error
>
No, something else does.
> What was the reason to change the routine ? it was working in 3.3.1-5
Here.
https://bugs.koozali.org/show_bug.cgi?id=11784#c1
So the fix which will be on the other bug is this:
diff -ruN smeserver-affa-3.3.1.old/root/sbin/affa
smeserver-affa-3.3.1/root/sbin/affa
--- smeserver-affa-3.3.1.old/root/sbin/affa 2022-07-04 14:20:03.337191931
+0100
+++ smeserver-affa-3.3.1/root/sbin/affa 2022-07-04 14:20:58.524105317 +0100
@@ -1134,8 +1134,9 @@
my @dirList = qw (/etc/affa/ /etc/affa/conf.d/);
my @ls = ();
+ my @list = ();
- foreach $dir (@dirList) {
+ foreach my $dir (@dirList) {
if ( -d $dir ) {
my @cmd = (
'find', "$dir", '-maxdepth 1', '-type', 'f', '-name',
'"*.conf"'
I'll patch that now.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/