Networker: if there is no file, quit the way it should.
[citadel.git] / citadel / modules / network / serv_networkclient.c
index 190121a9867f9269406b40bbf91652b7f82b740d..24e354a5c37e2006f124baa55f99389ff3c5308d 100644 (file)
@@ -437,6 +437,7 @@ eNextState NWC_SendNUOP(AsyncNetworker *NW)
                NW->State = eQUIT;
                rc = NWC_SendQUIT(NW);
                NWC_DBG_SEND();
+               return rc;
        }
 
        if (fstat(fd, &statbuf) == -1) {