<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>742</bug_id>
          
          <creation_ts>2011-02-20 20:42:07 +0000</creation_ts>
          <short_desc>when meet error, ADT installer fail to stop the installation progress</short_desc>
          <delta_ts>2011-03-12 17:11:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>adt</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liping Ke">liping.ke</reporter>
          <assigned_to name="liping Ke">liping.ke</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11880</commentid>
    <comment_count>0</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-02-20 20:42:07 +0000</bug_when>
    <thetext>When installing and meeting error, the script function check_result compares error code with &quot;-1&quot;. 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&amp; Regards,
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11913</commentid>
    <comment_count>1</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-02-21 22:19:10 +0000</bug_when>
    <thetext>this bug is fixed by cs:

http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=7537f44a498860c08f613544e5f40fe2f24adaa8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12535</commentid>
    <comment_count>2</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-03-12 17:11:08 +0000</bug_when>
    <thetext>verified against latest bernard branch</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>