Index: trunk/psLib/src/sys/psLogMsg.c
===================================================================
--- trunk/psLib/src/sys/psLogMsg.c	(revision 7569)
+++ trunk/psLib/src/sys/psLogMsg.c	(revision 7587)
@@ -11,6 +11,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-06-15 00:17:32 $
+ *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-06-16 23:01:10 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -186,7 +186,9 @@
     // Special destinations: stdout, stderr
     if (strcmp(dest, "stdout") == 0) {
+        logFD = STDOUT_FILENO;
         return STDOUT_FILENO;
     }
     if (strcmp(dest, "stderr") == 0) {
+        logFD = STDERR_FILENO;
         return STDERR_FILENO;
     }
@@ -213,4 +215,5 @@
         }
         psFree(protocolLocation);
+        logFD = fileD;
         return fileD;
     }
