Index: trunk/ippToPsps/src/ippToPspsBatchDifference.c
===================================================================
--- trunk/ippToPsps/src/ippToPspsBatchDifference.c	(revision 27431)
+++ trunk/ippToPsps/src/ippToPspsBatchDifference.c	(revision 27686)
@@ -14,7 +14,7 @@
   \brief Loops round all the diff cmf files (one per skycell) and generates one FITS  
   */
-bool ippToPsps_batchDifference(IppToPsps *this) {
+int ippToPsps_batchDifference(IppToPsps *this) {
 
-    if (this->numOfInputFiles < 1) return false;
+    if (this->numOfInputFiles < 1) return PS_EXIT_DATA_ERROR;
 
     uint32_t skycell = 0; // TODO
@@ -116,4 +116,4 @@
     }
 
-    return true;
+    return PS_EXIT_SUCCESS;
 }
