lsof -Q to not fail on empty result
1 files changed, 1 insertions(+), 1 deletions(-) M environment.tcl
M environment.tcl => environment.tcl +1 -1
@@ 140,7 140,7 @@ namespace eval ::buildslack::environment { dict with environment { log::log info "killing processes holding files in mounted environment $buildroot:" set pids [ exec -ignorestderr lsof -t $buildroot ] set pids [ exec -ignorestderr lsof -Q -t $buildroot ] foreach p [ split $pids ] { set f [ open /proc/$p/cmdline ] set cmdline [ read $f ]