From ebdea46a8e2cf1ec034c4291a015ef0e9a0ce51c Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Wed, 9 May 2007 00:02:37 +0000 Subject: [PATCH] Report even when zero nodes are in power save mode. --- src/slurmctld/power_save.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slurmctld/power_save.c b/src/slurmctld/power_save.c index 5ed9fbce8cc..d19f8c3c0f8 100644 --- a/src/slurmctld/power_save.c +++ b/src/slurmctld/power_save.c @@ -135,7 +135,7 @@ static void _do_power_work(void) bit_set(sleep_node_bitmap, i); } } - if ((susp_total > 0) && ((now - last_log) > 300)) + if ((now - last_log) > 300) info("Power save mode %d nodes", susp_total); if ((wake_cnt == 0) && (sleep_cnt == 0)) { _re_wake(); -- GitLab