Changeset 1335

Show
Ignore:
Timestamp:
02/05/04 00:41:27 (21 years ago)
Author:
jalet
Message:

Should fix the incorrect "backend died abnormally" problem.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r1321 r1335  
    2424# 
    2525# $Log$ 
     26# Revision 1.27  2004/02/04 23:41:27  jalet 
     27# Should fix the incorrect "backend died abnormally" problem. 
     28# 
    2629# Revision 1.26  2004/01/30 16:35:03  jalet 
    2730# Fixes stupid software accounting bug in CUPS backend 
     
    381384             
    382385        # Check exit code of original CUPS backend.     
     386        if status == -1 : 
     387            # we exited the loop before the real backend exited 
     388            # now we have to wait for it to finish and get its status 
     389            status = subprocess.wait() 
    383390        if os.WIFEXITED(status) : 
    384391            retcode = os.WEXITSTATUS(status)