From 11d86cd265d2337f510a301ff5793ba4b138b3a4 Mon Sep 17 00:00:00 2001 From: "Christopher J. Morrone" <morrone2@llnl.gov> Date: Sat, 22 Jul 2006 01:00:51 +0000 Subject: [PATCH] Fix typo --- src/slaunch/opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slaunch/opt.c b/src/slaunch/opt.c index 6b87a2868b2..70cb93e36e8 100644 --- a/src/slaunch/opt.c +++ b/src/slaunch/opt.c @@ -1476,7 +1476,7 @@ static bool _opt_verify(void) if (!opt.num_nodes_set && opt.num_tasks_set && opt.num_tasks < opt.num_nodes) opt.num_nodes = opt.num_tasks; - if (opt.node_list + if (opt.nodelist && opt.num_nodes != hostlist_count(hl_unique)) { if (opt.num_nodes > hostlist_count(hl_unique)) { error("Asked for more nodes (%d) " -- GitLab