Show
Ignore:
Timestamp:
01/05/06 16:31:39 (19 years ago)
Author:
jerome
Message:

Insufficient permission to run a command now exits with status -2.
Error in command line options now exits with status -2.
Processing interrupted with Ctrl+C (or SIGTERM) now exits with status -3.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pkprinters

    r2512 r2609  
    264264    except KeyboardInterrupt :         
    265265        sys.stderr.write("\nInterrupted with Ctrl+C !\n") 
     266        retcode = -3 
    266267    except PyKotaCommandLineError, msg :     
    267268        sys.stderr.write("%s : %s\n" % (sys.argv[0], msg)) 
     269        retcode = -2 
    268270    except SystemExit :         
    269271        pass