From: Matthias Kruk Date: Sat, 3 Dec 2022 07:08:10 +0000 (+0900) Subject: include/inst: Fix syntax error that prevents module from being loaded X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=f9668588c8887fde989fe0a4d4680097299ff322;p=toolbox include/inst: Fix syntax error that prevents module from being loaded The function `_inst_handle_opt_stop()' in the inst module contains a syntax error that prevents the module from being loaded. This commit removes the stray `then' token that causes the syntax error. --- diff --git a/include/inst.sh b/include/inst.sh index 31e8573..1ac60dd 100644 --- a/include/inst.sh +++ b/include/inst.sh @@ -48,7 +48,7 @@ _inst_handle_opt_stop() { local opt="$1" local arg="$2" - inst_stop "$arg" "$__inst_name"; then + inst_stop "$arg" "$__inst_name" exit "$?" }