Ignore:
Timestamp:
Jan 19, 2003, 8:19:05 PM (16 years ago)
Author:
landonf
Message:

Fix failure check and provide more useful output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portutil.tcl

    r1744 r1745  
    11361136    array set portinfo [lindex $res 1]
    11371137    set porturl $portinfo(porturl)
    1138     if {[catch {set worker [dportopen $porturl [array get options] $variations]} result] || $result != 0} {
    1139         ui_error "Execution $portname $target failed: $result"
     1138    if {[catch {set worker [dportopen $porturl [array get options] $variations]} result]} {
     1139        ui_error "Opening $portname $target failed: $result"
    11401140        return -1
    11411141    }
Note: See TracChangeset for help on using the changeset viewer.