Index: trunk/ppImage/src/ppImageLoop.c
===================================================================
--- trunk/ppImage/src/ppImageLoop.c	(revision 7581)
+++ trunk/ppImage/src/ppImageLoop.c	(revision 7585)
@@ -35,5 +35,5 @@
 
 		// perform the detrend analysis
-		ppImageDetrendReadout (config, options, view);
+		if (!ppImageDetrendReadout (config, options, view)) return false;
 
 		if (options->doBin1) ppImageRebinReadout (config, view, "PPIMAGE.BIN1");
