Revert "Catch Case, where not parameter was given."

This reverts commit e8e758c8dd.

check_galera_cluster can be run without any argument.
This commit is contained in:
Guillaume Coré
2018-01-19 18:48:50 +01:00
parent edfc05f10d
commit 5c6afec820
+1 -6
View File
@@ -57,15 +57,10 @@ check_executable() {
fi fi
} }
check_executable mysql check_executable mysql
check_executable bc check_executable bc
if (( $# == 0 )); then
echo "UNKNOWN: No parameter given! Please use -h for help!"
exit $ST_UK
fi
while getopts “hvu:p:H:P:w:c:f:0” OPTION; do while getopts “hvu:p:H:P:w:c:f:0” OPTION; do
case $OPTION in case $OPTION in
h) h)