summaryrefslogtreecommitdiff
path: root/clusterman/commands/node.py
diff options
context:
space:
mode:
Diffstat (limited to 'clusterman/commands/node.py')
-rw-r--r--clusterman/commands/node.py2
1 files changed, 1 insertions, 1 deletions
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):