Ignore:
Timestamp:
Sep 25, 2002, 8:18:53 AM (16 years ago)
Author:
landonf
Message:

Return error number on unknown target

File:
1 edited

Legend:

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

    r724 r775  
    738738            # Special-case 'all'
    739739        } elseif {![string equal $target all]} {
    740             ui_info "Warning: unknown target: $target"
    741             return
     740            ui_error "unknown target: $target"
     741            return 1
    742742        }
    743743    }
     
    751751
    752752    close $fd
    753         return $ret
     753    return $ret
    754754}
    755755
Note: See TracChangeset for help on using the changeset viewer.