From f9668588c8887fde989fe0a4d4680097299ff322 Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Sat, 3 Dec 2022 16:08:10 +0900 Subject: [PATCH] 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. --- include/inst.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "$?" } -- 2.47.3