fix readfd check, below case !r was never executed - sob - simple output bar
 (HTM) git clone git://git.codemadness.org/sob
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 0623bdc3978eb327390c15de16deb991299e8b31
 (DIR) parent fee669cbaa9c842d18ed53838ea84b05335e40bc
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sat, 25 Oct 2014 10:22:51 +0000
       
       fix readfd check, below case !r was never executed
       
       Diffstat:
         M sob.c                               |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/sob.c b/sob.c
       @@ -621,7 +621,7 @@ pipe_read(int fd_in, int fd_out, char *writestr,
        
                        if(FD_ISSET(fd_in, &fdr) && haswritten) {
                                while(1) {
       -                                if((r = readfd(fd_in, buf, sizeof(buf))) <= 0)
       +                                if((r = readfd(fd_in, buf, sizeof(buf))) == -1)
                                                goto fini;
                                        if(!r) {
                                                status = 0;