From: Ian Jackson Date: Fri, 18 Jan 2013 18:48:05 +0000 (+0000) Subject: restore umask X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=cgi-auth-flexible.git;a=commitdiff_plain;h=5df7029a49abf222832b8513bdb0c6ae16a3387d restore umask --- diff --git a/cgi-auth-flexible.pm b/cgi-auth-flexible.pm index fb161cc..a959cba 100644 --- a/cgi-auth-flexible.pm +++ b/cgi-auth-flexible.pm @@ -270,6 +270,7 @@ sub _dbopen ($) { RaiseError => 1, ShowErrorStatement => 1, }); + umask $u; die "$dsn $! ?" unless $dbh; } $v->{Dbh} = $dbh;