瀏覽代碼

doc: add fancy code comment for multi-pip expression

main
Jan Lehnardt 3 年之前
父節點
當前提交
2bd1e20617
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      wait_for_pid_exit.sh

+ 5
- 0
wait_for_pid_exit.sh 查看文件

@@ -12,6 +12,11 @@ wait_for_pid_exit () {
waiting=0

debug_inline "waiting for $pid to exit "
# show all pids
# | find just the $server_pid
# | | don’t match on the previous grep
# | | | we don’t need the output
# | | | |
until ( ! ps ax | grep $pid | grep -v grep > /dev/null); do
if [ $waiting -eq $iterations ]; then
after=`expr $duration \* $iterations`


Loading…
取消
儲存