mirror of
https://github.com/sheumann/hush.git
synced 2024-12-26 10:32:02 +00:00
16 lines
224 B
Plaintext
16 lines
224 B
Plaintext
|
if test $# = 0; then
|
||
|
# Child will kill us in 1 second
|
||
|
"$THIS_SH" "$0" $$ &
|
||
|
|
||
|
# Loop many, many times
|
||
|
trap 'echo OK; exit 0' 15
|
||
|
while true; do
|
||
|
continue
|
||
|
done
|
||
|
echo BAD
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
sleep 1
|
||
|
kill $1
|