diff options
| author | Loic Guegan <loic.guegan@mailbox.org> | 2023-10-26 12:37:40 +0200 |
|---|---|---|
| committer | Loic Guegan <loic.guegan@mailbox.org> | 2023-10-26 12:37:40 +0200 |
| commit | 21a83cd9736a742645179d899488bd9db62e80c9 (patch) | |
| tree | d39b596e501e89a89477d1e6a8b50fe1f8988950 | |
| parent | b2835c72a33fd1baa20fa137cf4c1953ca28e149 (diff) | |
Minor changes
| -rw-r--r-- | clusterman/commands/node.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clusterman/commands/node.py b/clusterman/commands/node.py index 04ede32..b7dca60 100644 --- a/clusterman/commands/node.py +++ b/clusterman/commands/node.py @@ -36,6 +36,9 @@ def check(timeout=0.1): if os.path.exists(nodes_path): with open(nodes_path) as f: nodes=json.load(f) + else: + print("Please perform a scan before") + exit(0) if not nodes == None: fail=False for ip in nodes: |
