summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2002-07-03 11:10:12 +0000
committerivan <ivan>2002-07-03 11:10:12 +0000
commit98567e531e90ee1c7c195d5f1e708898d47a8452 (patch)
tree023b35d36a8ed2976d3848a0247b32efe18cb3ba /FS
parentab33e906a196646c5351c21848b5d6f63b4400dd (diff)
allow InitHandler to work during apache startup
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/UID.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/UID.pm b/FS/FS/UID.pm
index b1e590f2f..15f15a171 100644
--- a/FS/FS/UID.pm
+++ b/FS/FS/UID.pm
@@ -83,7 +83,7 @@ sub forksuidsetup {
$ENV{'ENV'} = '';
$ENV{'BASH_ENV'} = '';
- croak "Not running uid freeside!" unless checkeuid();
+ croak "Not running uid freeside!" unless checkeuid() || !$>;
getsecrets;
$dbh = DBI->connect($datasrc,$db_user,$db_pass, {
'AutoCommit' => 0,
@@ -256,7 +256,7 @@ coderef into the hash %FS::UID::callback :
=head1 VERSION
-$Id: UID.pm,v 1.16 2002-06-28 08:23:44 ivan Exp $
+$Id: UID.pm,v 1.17 2002-07-03 11:10:12 ivan Exp $
=head1 BUGS