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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user