mirror of https://github.com/Icinga/icinga2.git
contrib: Add stderr print to flap.sh
This commit is contained in:
parent
a6cc26c2d7
commit
ffc3e85ba5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue