Remove vn call in favour of v call. This commit serves as preparation
for removing the vn function call.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
local stat
local proc_ppid=$(cut -d' ' -f4 /proc/$$/stat)
- vn "Sending $sig to remaining processes ..."
+ v "Sending $sig to remaining processes ..."
while $run; do
run=false
# Skip kernel threads
[ -n "$cmdline" ] || continue
- _vn " $name"
+ v "Sending signal $sig to $name ($pid)"
kill -$sig $pid 2>/dev/null
[ $loop -eq 1 ] && run=true
let loop_limit--
[ $loop_limit -eq 0 ] && {
- _v
v "Failed to kill all processes."
exit 1
}
done
- _v
}
indicate_upgrade