]> git.corax.cc Git - toolbox/commitdiff
include/inst: Fix syntax error that prevents module from being loaded
authorMatthias Kruk <m@m10k.eu>
Sat, 3 Dec 2022 07:08:10 +0000 (16:08 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 3 Dec 2022 07:08:10 +0000 (16:08 +0900)
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

index 31e8573e4a3d2ba8b051fbf41de49992f4c0f266..1ac60dd75650220e7d4cedd8042f976258e9d5b1 100644 (file)
@@ -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 "$?"
 }