mhonarc-users

list of error return codes

2000-01-24 12:11:48
Hi, 

Is there a list of error return codes available anywhere?

I'm back on the web admin interface again, as I never actually
finished it the first time.

After seeing the errors in my way of using a script and then
using setuid this is the code I replaced it with:


  mhonarc::initialize() or die "$!: #2 - mhonarc::initialize\n\n";
  mhonarc::process_input(
    '-quiet',
    '-nodoc',
    '-rcfile', "$config",
    '-outdir', "$outdir",
    $mailbox
  ) or die "$!: #3 - mhonarc::process_input\n\n";


either die statement will cause it to die with 

Software error:

No such file or directory: #2 - mhonarc::initialize 

or

Software error:

No such file or directory: #3 - mhonarc::process_input 

is it something that mhamain.pl is referencing and I havent set
the paths properly?

tia

Andy


-- 
Andrew McGregor, EduServ (NISS), PO BOX 2674, BATH, BA2 7XY.
T: 01225 826 826 ext. 4717; F: 01225 826 177; E: am(_at_)niss(_dot_)ac(_dot_)uk

<Prev in Thread] Current Thread [Next in Thread>