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__
