On Thu, Jun 01, 2006 at 08:40:54AM +0200, oopla wrote:
> I should add that such jobids are from 'faxstat -s' with status 'W'.

did not see other fax in 'W' state, so couldn't really test in with 4.3.0. 
But at least works on 'B', 'S'. On 'F' it bails out on failed JSUSP 
('job already done').

> Also, note that although faxalter fails on JSUSP it exits with status 0
> and prints nothing without -v, whereas faxrm complaints.

fixed with attached patch, which also fixes another bug (imo) ie faxalter()
shouldn't exit on 1st error when given a list of jid; so the patch fixes/adds:

- non-0 rc on error; print an error msg
- process whole jid given, don't bail out on 1st error encountered.


Still (wrong) behaviour though in -k wrt -a :

faxalter -v -a 'now +1'  1410
Syntax error, "+1" without unit
faxalter -v -k 'now +1'  1410
now +1

WFM - at least it's closer to my needs.> 

-- 
  paolo

Attachment: faxalter.c++_4.3-oo.diff.gz
Description: Binary data

Reply via email to