]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/cmd/split.c
merge
[plan9front.git] / sys / src / cmd / split.c
old mode 100755 (executable)
new mode 100644 (file)
index 9e46954..97a18ad
@@ -151,7 +151,7 @@ openf(void)
 
        Bflush(output);
        Bterm(output);
-       if(fd > 0)
+       if(fd >= 0)
                close(fd);
        fd = create(name,OWRITE,0666);
        if(fd < 0) {