>>71
| if [ ! -L $lock_file -o ! $(kill -0 $(readlink $lock_file)) ]; then...

評価順をよく考えてみよう。