Index: trunk/Ohana/src/opihi/pcontrol/PclientCommand.c
===================================================================
--- trunk/Ohana/src/opihi/pcontrol/PclientCommand.c	(revision 8424)
+++ trunk/Ohana/src/opihi/pcontrol/PclientCommand.c	(revision 8546)
@@ -20,5 +20,8 @@
 
   /* is pipe still open? */
-  if ((status == -1) && (errno == EPIPE)) return (PCLIENT_DOWN);
+  if ((status == -1) && (errno == EPIPE)) {
+    // gprint (GP_ERR, "pclient read gives pipe error for %s\n", command);
+    return (PCLIENT_DOWN);
+  }
   
   /* watch for response - wait up to 1 second */
@@ -30,5 +33,8 @@
     if (status == -1) nanosleep (&request, &remain);
   }
-  if (status ==  0) return (PCLIENT_DOWN);
+  if (status ==  0) {
+    // gprint (GP_ERR, "pclient read returns 0 for %s\n", command);
+    return (PCLIENT_DOWN);
+  }
   if (status == -1) return (PCLIENT_HUNG);
   /* gprint (GP_ERR, "buffer.buffer: %s\n", buffer[0].buffer); */
