Changeset 146645 for trunk/base


Ignore:
Timestamp:
Mar 14, 2016, 7:23:13 PM (4 years ago)
Author:
cal@…
Message:

base: Handle signals in lock_reg_if_needed

Closes #48406

File:
1 edited

Legend:

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

    r146639 r146645  
    46364636        }
    46374637
    4638         set locked [lock_reg_if_needed $action]
     4638        try {
     4639            set locked [lock_reg_if_needed $action]
     4640        } catch {{POSIX SIG SIGINT} eCode eMessage} {
     4641            set action_status 1
     4642            break
     4643        } catch {{POSIX SIG SIGTERM} eCode eMessage} {
     4644            set action_status 1
     4645            break
     4646        }
    46394647        # Always start out processing an action in current_portdir
    46404648        cd $current_portdir
Note: See TracChangeset for help on using the changeset viewer.