Index: trunk/psphot/src/psphotOutput.c
===================================================================
--- trunk/psphot/src/psphotOutput.c	(revision 16611)
+++ trunk/psphot/src/psphotOutput.c	(revision 17870)
@@ -44,7 +44,7 @@
     // optional dump of all rough source data
     char *output = psMetadataLookupStr (&status, recipe, "MOMENTS_OUTPUT_FILE");
-    if (!status) return false;
-    if (output == NULL) return false;
+    if (!output) return false;
     if (output[0] == 0) return false;
+    if (!strcasecmp (output, "NONE")) return false;
 
     pmMomentsWriteText (sources, output);
