Changeset 14424 for trunk/base


Ignore:
Timestamp:
Oct 4, 2005, 10:54:09 PM (15 years ago)
Author:
jberry
Message:

Stop on and return any non-zero status returned out of dportexec, unless we're in -f mode.
Sometimes errors are thrown, sometimes they're returned!

Does this fix your issue Toby?

-jdb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port/port.tcl

    r14362 r14424  
    33exec @TCLSH@ "$0" "$@"
    44# port.tcl
    5 # $Id: port.tcl,v 1.111 2005/10/01 16:17:42 jberry Exp $
     5# $Id: port.tcl,v 1.112 2005/10/04 22:54:09 jberry Exp $
    66#
    77# Copyright (c) 2004 Robert Shaw <rshaw@opendarwin.org>
     
    17321732               
    17331733                        dportclose $workername
    1734                 }
    1735         }
    1736 }
    1737 
    1738 
     1734                       
     1735                        # Process any error that wasn't thrown and handled already
     1736                        if {$result} {
     1737                                fatal_softcontinue "Status $result encountered during processing."
     1738                        }
     1739                }
     1740        }
     1741}
     1742
     1743
Note: See TracChangeset for help on using the changeset viewer.