From: Adam R. <ad...@ex...> - 2011-06-23 11:33:51
|
Leif, Leif im a bit out of my depth here... As you created the shell scripts and are the most knowledgeable on these, could you consider Ralfs patches and whether it makes sense to add them? If so could you add them? On 18 June 2011 12:51, Ralf Jung <ral...@gm...> wrote: > Hi everyone, > > since I really need this to work properly in a script (I am planning to use it > in a cron job), I went ahead and implemented what I needed in the three > attached patches: > - The first one silences --quiet mode, except for the "Loading mime table" > message which is printed in a place where the command-line options are not > accessible. > - The 2nd one makes sure that error messages are printed in --quiet mode > (contrary to what the doc says, most of them were silenced!), and it prints > them on stderr instead of stdout. > - The 3rd one makes the client return a non-zero exit status if there was a > failure in one of the operations requested via command-line options (for > failures in GUI mode, nothing should change). I don't think I got all failure > cases, but I got the ones I could trigger, and since error messages are now > properly printed, I can still see the remaining errors in the mail sent by > cron. > Please let me know if this can be accepted for inclusion into trunk, or why > not. > > Kind regards, > Ralf > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |