Bug 742

Summary: when meet error, ADT installer fail to stop the installation progress
Product: [Yocto Project Subprojects] ADT Reporter: liping Ke <liping.ke>
Component: adtAssignee: liping Ke <liping.ke>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, lianhao.lu, poky.adt.watcher, poky.watcher, sgw
Version: 1.0   
Target Milestone: 1.0 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description liping Ke 2011-02-20 20:42:07 UTC
When installing and meeting error, the script function check_result compares error code with "-1". Actually, the number is 255. So it fail to stop the wrong installation. 

Correct way is to check whether the result = 1 and then check the result -nq 0.

Thanks& Regards,
criping
Comment 2 Jessica 2011-03-12 17:11:08 UTC
verified against latest bernard branch