diff --git a/emper/Runtime.cpp b/emper/Runtime.cpp
index 9d736e4695f905013cd1c801f34d725ec5cdca52..44ad44c0be267ef30c9ef9a64c1641066403a99e 100644
--- a/emper/Runtime.cpp
+++ b/emper/Runtime.cpp
@@ -68,9 +68,7 @@ Runtime::Runtime(workerid_t workerCount, RuntimeStrategy& strategy) : workerCoun
 #ifdef EMPER_STATS
 	lastRuntime = this;
 	int res = std::atexit(&printLastRuntimeStats);
-	// For testing purposes.
-	res = 1;
-	if (!res) {
+	if (res) {
 		DIE_MSG("could not register printStats() with at_exit()");
 	}
 #endif