logs: improve ability to find logs
This commit is contained in:
parent
368b2c0206
commit
672a034fb0
@ -293,8 +293,8 @@ sub get_qp_dir {
|
|||||||
return "$homedir";
|
return "$homedir";
|
||||||
};
|
};
|
||||||
foreach my $s ( qw/ smtpd qpsmtpd qpsmtpd-dev / ) {
|
foreach my $s ( qw/ smtpd qpsmtpd qpsmtpd-dev / ) {
|
||||||
if ( -d "$homedir/smtpd/plugins" ) {
|
if ( -d "$homedir/$s/plugins" ) {
|
||||||
return "$homedir/smtpd";
|
return "$homedir/$s";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user