From 945933d5f41d601414a39d8836e7630b5c51472a Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Fri, 3 May 2024 10:00:48 +0100 Subject: [PATCH] fix: exit the tests correctly --- quickget | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickget b/quickget index 42ba03a..35b3b7c 100755 --- a/quickget +++ b/quickget @@ -486,7 +486,6 @@ function test_all() { fi fi done - exit 0 } function os_support() { @@ -3431,6 +3430,7 @@ case "${1}" in elif [ -z "${2}" ]; then test_all "${1}" fi + exit 0 ;; '--check'|'-c') OPERATION="test" @@ -3442,6 +3442,7 @@ case "${1}" in elif [ -z "${2}" ]; then test_all "${1}" fi + exit 0 ;; #TODO: Argument without dashes should be DEPRECATED! '--list-csv'|'-lc'|'list'|'list_csv'|'lc')