From 2b7fa8dee41a6515f1accbeeb6386015c97b914b Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Mon, 9 Dec 2024 18:35:47 +0100 Subject: [PATCH] check_mysql: fix showing help --- check_mysqlserver | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/check_mysqlserver b/check_mysqlserver index 3f1ac92..9fcd75b 100755 --- a/check_mysqlserver +++ b/check_mysqlserver @@ -21,6 +21,7 @@ # 2023-06-06 v0.3 <axel.hahn@unibe.ch> some shell fixes # 2023-07-28 v1.0 <axel.hahn@unibe.ch> update help page; fix [client]: command not found # 2023-08-30 v1.1 <axel.hahn@unibe.ch> reverse return code in ph.hasParamoption to unix like return codes: 0=true; <>0 = false +# 2024-12-09 v1.2 <axel.hahn@unibe.ch> fix showing help # ====================================================================== . $( dirname $0 )/inc_pluginfunctions @@ -200,7 +201,7 @@ ph.hasParamoption "u" "$@"; bOptUninstall=$? ph.hasParamoption "h" "$@"; bOptHelp=$? if [ $bOptHelp -eq 0 -o $# -lt 1 ]; then - echo "showHelp" + showHelp exit 0 fi -- GitLab