From a4a13c7cb511ce784140b3974e8f06cda6fedac0 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Thu, 14 Oct 2021 19:45:28 +0000 Subject: [PATCH] set return value for profile option Signed-off-by: Arthur Lu Former-commit-id: e15f87b2e5577a240d22498c24a20da3214db817 --- src/cli/superscript.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/superscript.py b/src/cli/superscript.py index 0ef3395..3dd42cc 100644 --- a/src/cli/superscript.py +++ b/src/cli/superscript.py @@ -317,7 +317,7 @@ def main(send, verbose = False, profile = False, debug = False): send(stdout, INF, "finished all tasks in " + str(time.time() - loop_start) + " seconds, looping") if profile: - return # return instead of break to avoid sys.exit + return 0 # return instead of break to avoid sys.exit event_delay = config["variable"]["event-delay"] if event_delay: