mirror of
https://github.com/webmin/webmin.git
synced 2025-08-19 01:15:14 +00:00
Dovecot locking method
This commit is contained in:
@ -319,5 +319,11 @@ local $out = `$config{'dovecot'} --version 2>&1`;
|
||||
return $out =~ /([0-9\.]+)/ ? $1 : undef;
|
||||
}
|
||||
|
||||
sub list_lock_methods
|
||||
{
|
||||
local ($forindex) = @_;
|
||||
return ( "dotlock", "fcntl", "flock", $forindex ? ( ) : ( "lockf" ) );
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
|
Reference in New Issue
Block a user