mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user