Bug 5441 - get_lpd_tunnel_port() in our printer module can do sys.exit()
Summary: get_lpd_tunnel_port() in our printer module can do sys.exit()
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Printing (show other bugs)
Version: 4.3.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Henrik Andersson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-23 09:33 CET by Henrik Andersson
Modified: 2015-03-03 10:44 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Henrik Andersson cendio 2015-02-23 09:33:01 CET
We should fix error handling in this function instead of controlling process lifetime. For now it is only ThinLocal backend that uses this function but the process control should be handled locally in the backend implementation.
Comment 1 Henrik Andersson cendio 2015-02-23 09:37:10 CET
get_lpd_tunnel_port() internally calls get_last_public_sessioninfo() which also does an sys.exit() upon errors.

Note You need to log in before you can comment on or make changes to this bug.