dfregress(8): Add some missing braces.
authorSascha Wildner <saw@online.de>
Fri, 9 Dec 2011 18:05:33 +0000 (19:05 +0100)
committerSascha Wildner <saw@online.de>
Fri, 9 Dec 2011 18:05:33 +0000 (19:05 +0100)
usr.bin/dfregress/userland.c

index 5306757..96ff0cf 100644 (file)
@@ -267,13 +267,15 @@ err_out:
        if (pid != -1)
                clean_child(pid);
 
-       if (fd_stdout >= 0)
+       if (fd_stdout >= 0) {
                close(fd_stdout);
                unlink(stdout_file);
+       }
 
-       if (fd_stderr >= 0)
+       if (fd_stderr >= 0) {
                close(fd_stderr);
                unlink(stderr_file);
+       }
 
        return -1;
 }