Index: trunk/ippScripts/scripts/detrend_norm_apply.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_norm_apply.pl	(revision 9445)
+++ trunk/ippScripts/scripts/detrend_norm_apply.pl	(revision 9446)
@@ -117,3 +117,3 @@
 }
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
Index: trunk/ippScripts/scripts/detrend_norm_calc.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_norm_calc.pl	(revision 9445)
+++ trunk/ippScripts/scripts/detrend_norm_calc.pl	(revision 9446)
@@ -147,3 +147,3 @@
 }
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
Index: trunk/ippScripts/scripts/detrend_norm_exp.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_norm_exp.pl	(revision 9445)
+++ trunk/ippScripts/scripts/detrend_norm_exp.pl	(revision 9446)
@@ -148,5 +148,5 @@
 }
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
 
 __END__
Index: trunk/ippScripts/scripts/detrend_process_exp.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_process_exp.pl	(revision 9445)
+++ trunk/ippScripts/scripts/detrend_process_exp.pl	(revision 9446)
@@ -146,5 +146,5 @@
 }
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
 
 __END__
Index: trunk/ippScripts/scripts/detrend_process_imfile.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_process_imfile.pl	(revision 9445)
+++ trunk/ippScripts/scripts/detrend_process_imfile.pl	(revision 9446)
@@ -120,5 +120,5 @@
 }
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
 
 __END__
Index: trunk/ippScripts/scripts/detrend_reject_exp.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_reject_exp.pl	(revision 9445)
+++ trunk/ippScripts/scripts/detrend_reject_exp.pl	(revision 9446)
@@ -205,5 +205,5 @@
 }
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
 
 __END__
Index: trunk/ippScripts/scripts/detrend_reject_imfile.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_reject_imfile.pl	(revision 9445)
+++ trunk/ippScripts/scripts/detrend_reject_imfile.pl	(revision 9446)
@@ -222,5 +222,5 @@
 }
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
 
 __END__
Index: trunk/ippScripts/scripts/detrend_resid.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_resid.pl	(revision 9445)
+++ trunk/ippScripts/scripts/detrend_resid.pl	(revision 9446)
@@ -139,5 +139,5 @@
 }
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
 
 __END__
Index: trunk/ippScripts/scripts/detrend_stack.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_stack.pl	(revision 9445)
+++ trunk/ippScripts/scripts/detrend_stack.pl	(revision 9446)
@@ -131,5 +131,5 @@
 }
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
 
 __END__
Index: trunk/ippScripts/scripts/mdc2list.pl
===================================================================
--- trunk/ippScripts/scripts/mdc2list.pl	(revision 9445)
+++ trunk/ippScripts/scripts/mdc2list.pl	(revision 9446)
@@ -70,3 +70,3 @@
 }
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
Index: trunk/ippScripts/scripts/phase0_exp.pl
===================================================================
--- trunk/ippScripts/scripts/phase0_exp.pl	(revision 9445)
+++ trunk/ippScripts/scripts/phase0_exp.pl	(revision 9446)
@@ -176,3 +176,3 @@
 }
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
Index: trunk/ippScripts/scripts/phase0_imfile.pl
===================================================================
--- trunk/ippScripts/scripts/phase0_imfile.pl	(revision 9445)
+++ trunk/ippScripts/scripts/phase0_imfile.pl	(revision 9446)
@@ -124,5 +124,5 @@
 # Pau.
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
 
 __END__
Index: trunk/ippScripts/scripts/phase2.pl
===================================================================
--- trunk/ippScripts/scripts/phase2.pl	(revision 9445)
+++ trunk/ippScripts/scripts/phase2.pl	(revision 9446)
@@ -106,5 +106,5 @@
 }
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
 
 __END__
Index: trunk/ippScripts/scripts/phase3.pl
===================================================================
--- trunk/ippScripts/scripts/phase3.pl	(revision 9445)
+++ trunk/ippScripts/scripts/phase3.pl	(revision 9446)
@@ -151,5 +151,5 @@
 }
 
-END { system("sync") or die "failed to execute sync: $!" }
+END { system("sync") == 0 or die "failed to execute sync: $!" }
 
 __END__
