a36805ddb1
The make PID test need be fixed yet.
15 lines
161 B
Bash
Executable file
15 lines
161 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# $Id$
|
|
|
|
set -e
|
|
|
|
[[ -z $1 ]] && exit
|
|
[[ -z $2 ]] && exit
|
|
|
|
if [ ! -f $1 ] ; then
|
|
while [ -d /proc/$2 ] ; do
|
|
echo -n "$2 "
|
|
sleep 1
|
|
done
|
|
fi
|