Index: trunk/ippScripts/scripts/detrend_reject_exp.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_reject_exp.pl	(revision 11501)
+++ trunk/ippScripts/scripts/detrend_reject_exp.pl	(revision 11829)
@@ -276,5 +276,5 @@
 
     warn($msg);
-    if ($det_id and $iter) {
+    if ($det_id and $iter and not $no_update) {
 	my $command = "$dettool -adddetrunsummary -det_id $det_id -iteration $iter -code $exit_code";
 	$command .= " -dbname $dbname" if defined $dbname;
