Index: src/bin/quicklaunch.c
===================================================================
--- src/bin/quicklaunch.c	(revision 65475)
+++ src/bin/quicklaunch.c	(working copy)
@@ -95,10 +95,10 @@
    int argc;
 
    buf = alloca(bytes);
-   if (read(fd, buf, bytes) < 0)
+   if (read(fd, buf, bytes) <= 0)
      {
-	close(fd);
-	return;
+        close(fd);
+        return;
      }
    close(fd);
    argc = ((unsigned long *)(buf))[0];
