Error spew when cancelling uninstallation that is blocked by another task
I told MacPorts to uninstall inactive ports. This caused a "Waiting for lock" message, because I was also installing ports in another terminal window. So I cancelled the uninstall operation by pressing Control-C. The only output I expected to receive was the two characters "^C
" but I got many lines of output in addition:
$ sudo port uninstall inactive
Waiting for lock on /opt/local/var/macports/registry/.registry.lock
^CSIGINT signal received
while executing
"adv-flock $lockfd -exclusive"
(procedure "registry::exclusive_lock" line 20)
invoked from within
"registry::exclusive_lock"
(procedure "lock_reg_if_needed" line 11)
invoked from within
"lock_reg_if_needed $action"
(procedure "process_cmd" line 25)
invoked from within
"process_cmd $remaining_args"
invoked from within
"if { [llength $remaining_args] > 0 } {
# If there are remaining arguments, process those as a command
set exit_status [process_cmd $remaining..."
(file "/opt/local/bin/port" line 5576)
$
This is using base version 2.3.99 at revision r138558.
Change History (3)
Milestone: |
→ MacPorts Future
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Milestone: |
MacPorts Future
|
Fixed in r146645.