Index: /trunk/ppImage/src/ppImage.c
===================================================================
--- /trunk/ppImage/src/ppImage.c	(revision 11453)
+++ /trunk/ppImage/src/ppImage.c	(revision 11454)
@@ -18,5 +18,5 @@
     if (config == NULL) {
         psErrorStackPrint(stderr, "Unable to parse command-line arguments.");
-        exit(1);
+        exit(PS_EXIT_CONFIG_ERROR);
     }
 
@@ -26,5 +26,5 @@
     if (options == NULL) {
         psErrorStackPrint(stderr, "Unable to parse camera.");
-        exit(1);
+        exit(PS_EXIT_CONFIG_ERROR);
     }
 
@@ -32,5 +32,5 @@
     if (!ppImageLoop(config, options)) {
         psErrorStackPrint(stderr, "Unable to loop over input");
-        exit(1);
+        exit(PS_EXIT_SYS_ERROR);
     }
 
@@ -40,5 +40,5 @@
     ppImageCleanup(config, options);
 
-    return EXIT_SUCCESS;
+    return PS_EXIT_SUCCESS;
 }
 
