contrib: Add stderr print to flap.sh

This commit is contained in:
Michael Friedrich 2013-08-09 14:59:09 +02:00
parent a6cc26c2d7
commit ffc3e85ba5
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
#!/bin/sh
echoerr() { echo "$@" 1>&2; }
foo=$(shuf -i 0-3 -n 1)
echo "flapme: $foo"
echoerr "stderr test"
exit $foo