cleanup
[cmdllinux.git] / scripts / waitnrun
blobad9ed12b074621dad4bf33f3226dd1d8bc8162d6
1 #! /bin/sh
3 WAITPID=$1
4 shift
5 while [ -e /proc/$WAITPID ]; do
6 sleep 0.5
7 done
8 exec "$@"