mirror of
https://github.com/webmin/webmin.git
synced 2026-02-09 00:39:57 +00:00
Better install check
This commit is contained in:
@@ -8,5 +8,5 @@ do 'krb5-lib.pl';
|
||||
# For mode 0, returns 1 if installed, 0 if not
|
||||
sub is_installed
|
||||
{
|
||||
return $_[0] ? 2 : 1;
|
||||
return !-r $config{'krb5_conf'} ? 0 : $_[0] ? 2 : 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user