From 7ea029cad6de1efbc93619db377c5c46706e9025 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 7 Feb 2024 16:24:59 +0100 Subject: [PATCH] Change node listreturn code --- clusterman/commands/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clusterman/commands/node.py b/clusterman/commands/node.py index ca88043..771f0b8 100644 --- a/clusterman/commands/node.py +++ b/clusterman/commands/node.py @@ -7,7 +7,7 @@ def ls(group=None): nodes=utils.get_node_list() if len(nodes)<=0: print("Please perform a scan before") - exit(0) + exit(2) # Print nodes if group is not None: for node in utils.get_node_in_group(group):