diff --git a/src/plugins/select/bluegene/plugin/bg_job_run.c b/src/plugins/select/bluegene/plugin/bg_job_run.c
index 74a3fd0c4b5ac9bbad163bef792fa78e41f1b658..919b3883876e0bfcce5d0d8c769f800f137dc3df 100644
--- a/src/plugins/select/bluegene/plugin/bg_job_run.c
+++ b/src/plugins/select/bluegene/plugin/bg_job_run.c
@@ -483,7 +483,7 @@ static void _reset_block_list(List block_list)
 	while ((bg_record = list_next(itr))) {
 		info("Queue clearing of users of BG block %s",
 		     bg_record->bg_block_id);
-#ifdef HAVE_BG_FILES
+#ifndef HAVE_BG_FILES
 		/* simulate jobs running and need to be cleared from MMCS */
 		if (bg_record->job_ptr)
 			jobs = 1;