From e8de3826c985b4619abe2192aea1abac8cf03b6f Mon Sep 17 00:00:00 2001 From: Ben Peddell Date: Mon, 30 May 2016 20:29:15 +1000 Subject: [PATCH] Avoid "no command" message if remove-mods is only command --- tools/arkmanager | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/arkmanager b/tools/arkmanager index 2d1f342..4263495 100755 --- a/tools/arkmanager +++ b/tools/arkmanager @@ -2204,7 +2204,11 @@ while true; do ;; remove-mods) doRemoveMods "${args[0]}" - continue + if [ $# -eq 0 ]; then + exit 0 + else + continue + fi ;; list-instances) doListAllInstances "${options[@]}"