Debian Codegraph @

t/bin/send_nsca

raw
1
2 echo i am the script with "$*"
3 if [ "$1" = "-H" ] && [ "$2" = "nagios.dierichs.de" ] && [ "$3" = "-p" ] && [ "$4" = "5555" ]; then
4 echo good
5 exit 0;
6 else
7 echo bad
8 exit 2
9 fi