From bdbb2570305f5ac168f1721112c7b9731559c49a Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Tue, 21 Nov 2023 10:02:45 +0100 Subject: [PATCH] Minor changes --- clusterman/__main__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clusterman/__main__.py b/clusterman/__main__.py index 1d1bdad..dc97c4f 100644 --- a/clusterman/__main__.py +++ b/clusterman/__main__.py @@ -60,10 +60,11 @@ def main(): else: node.ls() elif args.command == "exec": + use_key=not args.login if args.group: - node.exec(args.cmd,args.group,args.login) + node.exec(args.cmd,args.group,use_key) else: - node.exec(args.cmd,args.login) + node.exec(args.cmd, use_key=use_key) else: target_node.print_help(sys.stderr) sys.exit(1)