mirror of
https://github.com/webmin/webmin.git
synced 2025-08-15 21:20:10 +00:00
Switch all calls to open() to explicitly open for read
This commit is contained in:
@ -545,7 +545,7 @@ else {
|
||||
sub get_hba_config
|
||||
{
|
||||
local $lnum = 0;
|
||||
open(HBA, $hba_conf_file);
|
||||
open(HBA, "<".$hba_conf_file);
|
||||
while(<HBA>) {
|
||||
s/\r|\n//g;
|
||||
s/^\s*#.*$//g;
|
||||
|
Reference in New Issue
Block a user