diff options
author | ivan <ivan> | 2009-03-03 23:56:36 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-03-03 23:56:36 +0000 |
commit | 7c1c3170270e32df2d794b59b5498d48d68564a4 (patch) | |
tree | d68b01a250e3c967541a0c9cc7fe491be9fe1a16 | |
parent | 0afb8f9e5fa926907c43fa4a316b65e3aa834e71 (diff) |
show the euid/ruid when throwing the "Not running uid freeside" error
-rw-r--r-- | FS/FS/UID.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/UID.pm b/FS/FS/UID.pm index 431efb16d..a6b4c4bbd 100644 --- a/FS/FS/UID.pm +++ b/FS/FS/UID.pm @@ -98,7 +98,7 @@ sub forksuidsetup { $ENV{'ENV'} = ''; $ENV{'BASH_ENV'} = ''; - croak "Not running uid freeside!" unless checkeuid(); + croak "Not running uid freeside (\$>=$>, \$<=$<)\n" unless checkeuid(); warn "$me forksuidsetup connecting to database\n" if $DEBUG; if ( $FS::CurrentUser::upgrade_hack && $olduser ) { |